You are here: Re: serving xhtml with php « PHP Programming Language « IT news, forums, messages
Re: serving xhtml with php

Posted by unwiredbrain@gmail.com on 07/19/06 10:07

Noodle wrote:
> It shouldn't need the line:
> <?xml version="1.0" encoding="iso-8859-1"?>
> for it to validate as XHTML (I think its just recommended).
>
> You could just omit it if your server/php config won't let you include
> it.
Yes, that's correct. It /should/ be used, but it's not /necessary/ i.e.
normative. So you can just omit it, your pages will validate anyway.
Moreover, some browsers fall in quirks mode if you add it: check
http://www.quirksmode.org for more specific infos.

(As we say in sicily) Baciamo le mani
--
Massimo "unwiredbrain" Lombardo

 

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

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