|
tidy::diagnosetidy_diagnoseRun configured diagnostics on parsed and repaired markup BeschreibungObjektorientierter Stil
bool tidy::diagnose
( void
)
Prozeduraler Stil
bool tidy_diagnose
( tidy
$object
)
Runs diagnostic tests on the given tidy Parameter-Liste
Rückgabewerte
Gibt bei Erfolg Beispiele
Beispiel #1 tidy::diagnose example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: 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! Siehe auch
|