Posted by ironcorona on 05/04/06 05:22
Mark Parnell wrote:
> Deciding to do something for the good of humanity, ironcorona
> <iron.corona@gmail.com> declared in alt.html:
>
>> As far as I remember:
>> There is no </meta> tag.
>
> Not in HTML. In XHTML there is.
>
>> <meta> is an empty tag and only has
>> attributes.
>
> Only in HTML - XHTML requires that *all* elements be closed. There are a
> couple of ways of doing this, as David listed.
>
>> So in HTML <meta> is okay and in XHTML <meta /> it must be
>> closed properly.
>
> And in XHTML </meta> is a perfectly valid way of closing it.
>
> Ditto for </link>.
Really? But they're empty! Is there an </img> tag too?
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.
--
ironcorona
Navigation:
[Reply to this message]
|