Re: [WSG] link rel="stylesheet" question
Many thanks to those who respond to the link rel="stylesheet" question, Best, jody *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] link rel="stylesheet" question
Hi Jody, On Sunday, July 18, 2010, Jody Tate wrote: > In a stylesheet link, does the order of rel, href and type affect how a > browser understands, loads, etc. a stylesheet? No, the order of HTML attributes is not important; Unless you are doing something invalid like repeating them within an element. Best Ollie -- @ollicle *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] link rel="stylesheet" question
On 17 Jul 2010, at 17:42, Jody Tate wrote: > In a stylesheet link, does the order of rel, href and type affect how a > browser understands, loads, etc. a stylesheet? It doesn't. HTML attributes "may appear in any order". http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.2.2 > I usually see the rel attribute first, as in the example below, but does the > order of attributes matter or is the order convention, convention meaning, > "that's what most people do"? Convention. I guess it puts the /purpose/ of the linked resource (namely, being a stylesheet) first. -- Benjamin Hawkes-Lewis *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
[WSG] link rel="stylesheet" question
Hello all, In a stylesheet link, does the order of rel, href and type affect how a browser understands, loads, etc. a stylesheet? I usually see the rel attribute first, as in the example below, but does the order of attributes matter or is the order convention, convention meaning, "that's what most people do"? Thanks in advance, jody *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***