|
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/
Navigation:
[Reply to this message]
|