Re: <link> tag not validating properly?

* Kenneth Wright wrote:
>I have a test page at <http://web.kenandcorey.com/t.htm> that does not pass 
>validation for HTML 4.01. It does not like the trailing slash on my link 
>tag.
>
>I want my page to be valid in both HTML 4.01 transitional, and XHTML 1.0 
>transitional, but with the slash it fails HTML4, and without the slash it 
>fails XHTML1.

Since XHTML 1.0 and HTML 4.01 syntax differs, this is no wonder. You
have to choose to be either HTML 4.01 _or_ XHTML 1.0 compliant.

>Have I encountered a bug in the validator, or am I missing something?

Try reading http://www.w3.org/TR/xhtml1
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/

Received on Tuesday, 26 June 2001 21:30:16 UTC