[TYPO3-dev] <base> tag and IE6
Christian Welzel
gawain at camlann.de
Sun Sep 9 12:40:46 CEST 2007
Martin Kutschker schrieb:
> I don't see a
> rule taht aloes the "expeansion" of an element that is declared EMPTY.
> "base" is declared empty.
[qoute from http://www.w3.org/TR/2006/REC-xml-20060816/#sec-starttags]
The representation of an empty element is either a start-tag immediately
followed by an end-tag, or an empty-element tag.
[/quote]
Both forms are absolutely equal in xhtml/xml.
The short form (empty-element tag) is only a convinience to the older
sgml standard where you were allowed to leave out the optional end tag
in this case.
So adding <base></base> to a website is absolutely xhtml 1.1 valid, only
5 chars longer than the current <base /> and saves float-using-webdevs a
lot of trouble with IE6.
--
MfG, Christian Welzel
GPG-Key: http://www.camlann.de/key.asc
Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15
More information about the TYPO3-dev
mailing list