Reply to Re: XHTML question

Your name:

Reply:


Posted by Jukka K. Korpela on 04/30/07 21:32

Scripsit gouqizi.lvcha@gmail.com:

> I see a web page containing the following band
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" >
>
> Does this mean this page use XHTML?

Assuming that there is no whitespace after http:// in the real markup (there
was a line break in your message and my newsreader did some reformatting),
it only means that the start of the document _claims_ that the document uses
XHTML 1.0 Transitional syntax. Quite often, that's pure technobabble and the
actual markup is a horrendous mess of classic HTML, XHTML, proprietary
extensions, and just errors.

> Is there any difference between
> HTML and XHTML?

Is that a tr...ick question? Try reading the group for a few days before
asking questions that have frequently been discussed ad nauseam. The short
answer is that since you had to ask, forget XHTML for the time being and use
HTML 4.01.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[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

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