You are here: Re: NET-enabling start-tag requires SHORTTAG YES « HTML « IT news, forums, messages
Re: NET-enabling start-tag requires SHORTTAG YES

Posted by Harlan Messinger on 11/30/07 04:24

Kurda Yon wrote:
> Hi,
>
> I try to validate one page with the http://validator.w3.org. This is
> the error-message that I got:
> NET-enabling start-tag requires SHORTTAG YES
>
> And this is the explanation to the error-message:
> The sequence <FOO /> can be interpreted in at least two different
> ways, depending on the DOCTYPE of the document. For HMTL 4.01 Strict,
> the '/' terminates the tag <FOO (with an implied '>'). However, since
> many browsers don't interpret it this way, even in the presence of an
> HMTL 4.01 Strict DOCTYPE, it is best to avoid it completely in pure
> HTML documents and reserve its use solely for those written in XHTML.
>
> However, it does not help. I do not have any <FOO/> tags in my HTML
> code. This is the body-part of the code:
> <body>
> <form action="new.php">
> </form>
> </body>

You can't have an empty form in HTML 4.01 strict.
>
> The validator complains about the second line of the code.
>
> Could anybody pleas help me with this problem?

 

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

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