Morten Nielsen <mn@iter.dk>:
>
> How come this validates against HTML4.01 Transitional:
> <link rel="stylesheet" type="text/css" href="css/iter.css">
>
> But this doesn't:
> <link rel="stylesheet" type="text/css" href="css/iter.css" />
Due to Shorttag features of SGML enabled in HTML (but not XHTML), the slash
"/" already closes the link element, thus the ">" becomes textual content
which isn't allowed inside the head element, thus "</head><body>" (those
tags are optional) is silently inserted before ">", thus head-only elements
like meta and style as well as "</head>" and "<body>", which may apear only
once, become false.
Isn't this a FAQ?
Christoph PÃ¤per