How to order <script> tags vs. <style> tags in HTML markup for best results.
- by Tchalvak
I'm building up my site over at http://royronalds.com, and I'm trying to figure out what order of elements in the <head> makes most sense. Just to take from what I current have, I have:
<head>
<style> external stylesheet
<meta>
<title>
<link> to favicon
<script> for jQuery
<script> main javascript for site
<script> google analytics, asynchronous script.
</head>
Are there reasons to order these differently so that load times and other issues happen more smoothly, and if so, what would the ideal order be?