|
tidy::diagnosetidy_diagnoseRun configured diagnostics on parsed and repaired markup DescriptionObject oriented style
bool tidy::diagnose
( void
)
Procedural style
bool tidy_diagnose
( tidy
$object
)
Runs diagnostic tests on the given tidy Parameters
Return Values
Returns Examples
Example #1 tidy::diagnose example
<?php The above example will output: line 4 column 1 - Warning: <p> isn't allowed in <head> elements line 4 column 1 - Warning: inserting missing 'title' element line 4 column 1 - Warning: <p> isn't allowed in <head> elements line 4 column 1 - Warning: inserting missing 'title' element Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" Info: Document content looks like XHTML 1.0 Strict 2 warnings, 0 errors were found! See Also
|