On 20/07/06, Bill Walton <[EMAIL PROTECTED]> wrote:
>
> > Very helpful!  The slash was the problem.  File validates without it.
> > Fails
> > with it in.  Thanks!
>
> Went back to the w3schools site to see what I'd missed and now I'm
> confused.
> Here's the example HTML from that site for stylesheet links.
>
> <head>
> <link rel="stylesheet" type="text/css"
> href="mystyle.css" />
> </head>
>
> Looks, from this, like the '/' is _supposed_ to be there at the end.
>
> Any additional info (even speculation) would be appreciated.
>
> Thanks,
> Bill




Yep, the /> closes an empty element, like <br /> and <img /> for example -
> required in xhtml.
>



-- 
http://www.web-buddha.co.uk
http://www.projectkarma.co.uk
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to