title
describes the document.
title
might not describe the document.
title
element.
frames
in a frameset
, should have a title
element that defines, in a simple phrase, the purpose of the content.
Question | Does this title describe the document? |
---|---|
PASS | title describes the document. |
FAIL | title does not describe the document. |
title
element.title
describes the document.title
text so it describes the document.title
describes the document
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>The History Of Birds</title> </head> <body> <h1>History Of Birds</h1> <p>This document contains the history of Birds. The title of the document is appropriate.</p> </body> </html>
title
does not describe the document
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>New Page</title> </head> <body> <h1>History Of Birds</h1> <p>This document contains a history of birds. The title of this document does not describe the contents of this document.</p> </body> </html>