Typically an HTML page contains the following tags
<script>
<link>
<style>
I found the number of times changing the sequence of these tags, corrupted by the layout of the page.
So what will be the reason and what are the points to avoid this situation?
EDIT
After looking at @Anurag's answer, I actually assume that we have no case where we have two definitions of the same css class, in different style or link tags.
My main concern is the css and script sequence. Do we have to have the whole css class before writing any kind of JavaScript or it doesn't matter at all (which I don't think).
For example jqtouch floaty extension . In this case, if I define the class .floatybefore the tag JavaScript, then it does not work. I hope you understand my point.