Reply to Re: tool to validate XHTML code within a PHP page

Your name:

Reply:


Posted by shimmyshack on 04/26/07 21:21

On Apr 26, 7:34 pm, webrod <rodolphe.aous...@gmail.com> wrote:
> Hi,
>
> do you know a tool like TIDY which allows to validate the HTML code
> with PHP tags?
>
> TIDY is not good enough because it removes a lot of php code!!
>
> Thanks for your help..
>
> Rod

quite often unparsed markup+php will not be compliant, as you are
replying on php to insert required elements and attribute values, so
the logical thing to do would be to use a validator that runs within
firefox, there are a few addons which do this ("html validator" being
one), then the parsed markup is validated, and the results displayed
in the browser for you to see, much more convenient than trying to
validate mixed code. You can also use an online validator which does
the same thing, but this requires that your pages be public (or at
least public for the validator IP) which you might not want.

[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

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