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äperReceived on Sunday, 24 November 2002 17:51:54 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:30 UTC