Page structure and navigation

Does the page tell browsers to use modern HTML?

Browsers look for a short declaration at the top of an HTML page. Without it, a browser may lay out the page using older rules.

Source review

Link text, Read more, Destination unclear. Link text, Return policy, Destination named.
Which link leads to returns?

What to do

Start a full HTML document with <!doctype html>. Confirm that the server sends HTML rather than wrapping a different document format.

Practical example

<!doctype html> belongs before the html element in a normal HTML page.

Implementation example

<!doctype html>
<html lang="en">
  <head><meta charset="utf-8"><title>Example service</title></head>
  <body><main><h1>Example service</h1></main></body>
</html>

Adapting the example

Keep one document root. Validate the complete delivered document rather than inserting a second doctype into a component.

How to verify the result

Inspect the actual document response and test the resulting page layout in supported browsers.

What this check cannot prove

An HTML doctype does not validate the rest of the document or prove correct layout, accessibility or task completion.

Where this advice comes from

The linked primary guidance informs these steps. Anonymous Analysts defines the test interpretation and its acceptance criteria.

Sources and standards