[uf-discuss] Values for rel/rev are case-insensitive in HTML (was: Nomenclature Question)

Scott Reynen scott at randomchaos.com
Thu Dec 8 13:47:37 PST 2005


Ryan King wrote:

>> »These link types are case-insensitive, i.e., "Alternate" has the  
>> same
>> meaning as "alternate".«
>> -- http://www.w3.org/TR/html401/types.html#type-links
>
> Yes, but <a rel=".."/> is different than <a Rel="..." />

What markup language are we talking about here?

In XHTML, <a Rel="..." /> is different in that it's invalid:

http://www.w3.org/TR/xhtml1/#h-4.2

"XHTML documents must use lower case for all HTML element and  
attribute names."

In HTML 4, the two are identical:

http://www.w3.org/TR/REC-html40/intro/sgmltut.html#h-3.2.2

"Attribute names are always case-insensitive."

Peace,
Scott


More information about the microformats-discuss mailing list