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

Posted by ironcorona on 05/03/06 21:38

EN wrote:
> So,
>
> I have Visual Studio 2005 and did some HTML makeup, I hired a designer
> to do the graphics, and after that, I check my site on conformance.
>
> 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.

Perhaps you have a problem with your DTD? It looks to me as if Visual
Studio is writing the code as XHTML but is using the HTML 4.1 doctype

> instead it wants a <meta> tag to be closed by </meta> and not by />
> (empty tag)

There is no </meta> tag. It's an empty tag.

> So guys and girls, is W3C kidding or what? If I stick to conformance, I
> get a very inconsequent non-xhtml of the contents of the <head> tag...
> but W3C validates it as OK.

I think that Larry Wall's rules about Perl apply here (slightly modified):

#1

[W3C] is always by definition right about how [HTML] should behave. This
means [it] has final veto power [...].

#2

[W3C] is allowed to change [its] mind about any matter at a later date,
regardless of whether [it] previously invoked Rule 1.

:)


--
ironcorona

 

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

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