You are here: Re: W3C complience checker and conformance « HTML « IT news, forums, messages
Re: W3C complience checker and conformance

Posted by David Dorward on 05/03/06 20:58

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)

> So guys and girls, is W3C kidding or what?

Depends if you are working in XHTML or HTML. In HTML <link> and <meta> are
correct, while in XHTML <link />, <link></link> and <link/> (ditto meta)
are correct - although only one is allowed under Appendix C guidelines
(although XHTML as text/html is silly anyway - as has been discussed many
times before in this newsgroup).

I've never see the W3C Markup Validator get this wrong though.

A URL would be helpful.


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация