This script gives basic information about the document.
- Logs the page
<title>
- Logs the page description
- Logs the defined natural language
- Logs the charset
- Logs the number of DOM nodes in
<head>
- Logs the number of DOM nodes in
<body>
- Lists headings and document outline
The natural language must be defined correctly.
These numbers give you an idea how big the document is.
The document outline is listed to let you check the following:
-
Does the page contain headings?
-
Is there only one
<h1>
? -
Are there empty headings?
-
Have heading levels been skipped?