W3C home > Mailing lists > Public > www-validator@w3.org > September 1999

Re: The validator and XML standalone tags

From: Liam Quinn <liam@htmlhelp.com>
Date: Mon, 06 Sep 1999 18:11:24 -0400
Message-ID: <37D43C0C.752CB628@htmlhelp.com>
To: Max Berger <mage@phobos.fachschaften.tu-muenchen.de>
CC: www-validator@w3.org
Max Berger wrote:
> 
> Hi,
> 
> I wanted to convert my html 4.0 transitional document to valid xml.
> All I need to do so is add an extra <?xml ...?> tag. And the appropriate
> ending tags. e.g
> 
> <hr>
> to
> <hr />   ( <hr/> won't work on netscape )
> 
> so far, so good, and the document still validates. Except for my
> style-sheet:
> <head>
>   <link ref="stylesheet" href="/~mage/personal.css" type="text/css" />
> </head>
> 
> What is so different about the <link>  tag that i can't use the / ???

You have "ref" as the attribute instead of "rel". You're also missing
the required title element in the head.

-- 
Liam Quinn
A Real Validator for Windows, http://arealvalidator.com
Web Design Group, http://www.htmlhelp.com
Received on Monday, 6 September 1999 18:12:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:52 GMT