Discussion:
xhtml title tag stops page rendering
(too old to reply)
Keith Duncan
2007-11-13 11:12:01 UTC
Permalink
To comply with XHTML spec a TITLE tag is required in html documents. If this
is written as <TITLE></TITLE> then there is no problem, but of a shorten tag
of <TITLE/> is used this stops the page rendering under IE7.

To reproduce create a page like this...

<HTML>
<HEAD>
<TITLE/>
</HEAD>
<BODY>
HELLO
</BODY>
</HTML>

This will run fine under firefox but display a blank page in IE7.
C A Upsdell <""cupsdell\"@">
2007-11-13 13:41:35 UTC
Permalink
Post by Keith Duncan
To comply with XHTML spec a TITLE tag is required in html documents. If this
is written as <TITLE></TITLE> then there is no problem, but of a shorten tag
of <TITLE/> is used this stops the page rendering under IE7.
You are not supposed to use <title />. See section C.3 of the XHTML specs.

Also, IE does not support XHTML.

Loading...