|
Posted by Geoff on 04/30/07 14:32
"shimmyshack" <matt.farey@gmail.com> wrote in message
news:1177622481.026785.5810@t39g2000prd.googlegroups.com...
> 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.
>
i use html validator in firefox, it totaly rocks
not got anything for php though, depends on editor i suppose
the w3c online checker you can 'post' a copy and paste of webpage sourcecode
if u want
[Back to original message]
|