Reply to Re: Is the end of HTML as we know it?

Your name:

Reply:


Posted by David Dorward on 11/06/07 15:15

Bone Ur wrote:
> > <title>foo</title>
> > <p>Hello, world
> > <div>Goodbye, world</div>
> >
> > Without knowing HTML (via a DTD or otherwise), the parser has no way
> > to know that it needs to insert an HTML, HEAD and BODY elements, or
> > that the P element should end before the DIV and not after it.
>
> Excepting the situation with the <p> element, don't xhtml parsers have
> the same problem?

No, because the start and end tags for those elements aren't optional.
Since they don't appear in the document, they don't exist.

--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/

[Back to original 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

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