Reply to Re: CSS validator

Your name:

Reply:


Posted by fuli open on 02/01/07 14:22

On Feb 1, 7:56 am, "J.O. Aho" <u...@example.net> wrote:
> fuli open wrote:

> Could be so that the validator assumes your page is HTML4.01 and the xhtml you
> are using makes it to miss the style definitions.
>
> Either use:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

I have been doing in my way for years without realizing the difference
between xhtml and html4. It's rather hard for me do otherwise. Is it
possible to change the word 'Strict' to 'Transtional' in above doctype
and add a line in the <html> tag, so the above would become:

<!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/xhml">

</html>

> or
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
>
> or
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">

If xhml things are already included in the code, I wonder whether the
above two doctypes are adequate for my page.

Thanks a lot again for enlightenment.
>
> --
>
> //Aho

[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

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