Posted by ironcorona on 05/03/06 21:20
David Dorward wrote:
> EN wrote:
>
>> Guess what? Visual Studio sais: everything OK, but W3C says that
>> <link> tags should not be closed by /> (empty tag) nor by </link> so a
>> <link
>> [tags]> should stay as it is.
>>
>> instead it wants a <meta> tag to be closed by </meta> and not by /> (empty
>> tag)
As far as I remember:
There is no </meta> tag. <meta> is an empty tag and only has
attributes. So in HTML <meta> is okay and in XHTML <meta /> it must be
closed properly.
> Depends if you are working in XHTML or HTML. In HTML <link> and <meta> are
> correct, while in XHTML <link />, <link></link> and <link/>
As above for <meta>. There is no </link> tag.
HTML: <link>
XHTML: <link />
--
ironcorona
Navigation:
[Reply to this message]
|