Reply to Re: Need some clarifications on xhtml

Your name:

Reply:


Posted by Andy Dingley on 11/15/05 11:59

jojo wrote:

> A XHTML document should look like this:
>
> <?xml version="1.0" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

What's an "XHTML document" ? If you mean a local XML document, then
why not use XHTML 1.1 ? If you mean a web-published document then for
certain you need to lose that XML declaration:
<?xml version="1.0" ?>
as it breaks far too many web user agents.

> <html xmlns="http://www.w3.org/1999/xhtml">

If you're going to pontificate, make sure you're infallible.

Where are the lang and xml:lang attributes ?

[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

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