Re: Php echo li-tag not seen by validator

<quote who="Nick Woolley">
> When the html code from the page source is pasted into a new .html file
> it validates as xhtml transitional, but the .php page fails.

It sounds like you are attempting to send the source code of a peice of
software that (when run) will generate markup to the markup validator.

Don't do that, the validator does not run program code (to do so would be
expensive, dangerous, and (since programs can generate different output
depending on the arguments they are given and the environment they run in)
pointless. Send the generated markup to the validator.

(Please direct responses to www-validator, not directly to me. Thanks).

-- 
David Dorward
http://dorward.me.uk/

Received on Thursday, 28 May 2009 12:21:31 UTC