You are here: Re: CSS inconsistent behaviour « HTML « IT news, forums, messages
Re: CSS inconsistent behaviour

Posted by Neredbojias on 05/18/06 10:20

To further the education of mankind, "Ian Davies"
<iandan.dav@virgin.net> vouchsafed:

> Thanks for that
> If my page is is a php dynamic page with html script where is the best
> place for the
> document type declaration to be put?
> Presumably if the the php file contains no html then presumably I
> would not need a document type declaration?

If it generates html markup sent to the client as a page, the doctype
should go at the top. Strict is:

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

And yes, if the script doesn't generate a page, no doctype needed.

--
Neredbojias
Infinity has its limits.

 

Navigation:

[Reply to this 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

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