Declare the language, character encoding, mobile viewport, and page title.
HTML markup Copy
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Demo status</title>
</head>
<body><h1>Demo status</h1></body>
</html>Practical use Create a standalone demo status page.
Common mistakes Do not disable user zoom. A meaningful title helps tabs, search results, and assistive technology.
Source: html.spec.whatwg.org documentation
Identify navigation and primary content using native semantic elements.
HTML markup Copy
<header><a href="/">Demo company</a></header>
<nav aria-label="Main"><a href="/reference/">Reference</a></nav>
<main><h1>Site inventory</h1><section><h2>Enabled sites</h2></section></main>
<footer>Demo company</footer>Practical use Keep application-like navigation understandable to keyboard and screen reader users.
Common mistakes Choose heading levels by structure, not visual size. Use one main landmark for primary content.
Source: html.spec.whatwg.org documentation
Use links to navigate and buttons to perform actions.
HTML markup Copy
<a href="/reference/">Open reference</a>
<button type="button">Refresh demo</button>Practical use Separate page navigation from a demo refresh action.
Common mistakes A button inside a form defaults to submit unless its type is set. Avoid clickable divs.
Source: html.spec.whatwg.org documentation