|
Posted by Baron Samedi on 01/12/06 04:34
Hmm, "The most fundamental ability of HTML Tidy is its ability to
parse, diagnose, clean and repair HTML and XHTML documents". But all
of my website are PHP documents, not HTML or XHTML :-(
When I ask W3C to validate htttp://mysite.com/index.php, it fetches it
from the server, the PHP is executed before it is passed to W3C and
what W3C receives is what the user would see in a broswer, which is
effctively HTML.
However, I think that it would be possible for me to use TIDY to
generate my web pages. Hmm, what if I include a PHP script to generate
some code and it generates invalid HTML? I can see that I need to look
into this further.
Navigation:
[Reply to this message]
|