Posted by David Dorward on 05/04/06 09:37
ironcorona wrote:
>> Ditto for </link>.
> Really? But they're empty! Is there an </img> tag too?
Yes. All elements in XHTML must be explicitly closed.
> http://www.w3.org/TR/xhtml1/#guidelines
> Just looked it up. You can do it because its part of XML but W3C seems
> to be saying not to use it if at all possible.
In an XHTML document it is fine, however XHTML documents served as text/html
have additional restrictions to reduce the number of problems they cause to
browsers which are designed for handing HTML.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|