Welcome visitor
* Login
* Register
It is currently July 20th, 2019, 11:36 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  prefered order
PostPosted: July 29th, 2009, 3:32 pm 

Posts: 27
in the structure of an html document what should go first, the script or the style tag?


Top
 Profile  
 
  Re: prefered order
PostPosted: July 29th, 2009, 4:05 pm 
User avatar

Posts: 52
i would put the css style first, the script doesnt really matter, you can even put it after the </body> tag and it would still works.


Top
 Profile  
 
  Re: prefered order
PostPosted: July 30th, 2009, 3:00 am 
User avatar

Posts: 137
CSS should always be on the header. Javascript is acceptable even on the inline presentation (e.g. after the header :D ).

And even in the header CSS goes first.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron