01-html-tags-1991.demo.html
html-spec/examples/01-html-tags-1991.demo.html · 139 line(s) · html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML Tags (1991) — Use-Case Demonstration</title>
</head>
<body>
<h1>HTML Tags (1991) — Use-Case Demonstration</h1>
<p><strong>Date:</strong> 2026-10-25</p>
<p>
This document demonstrates the ~20 elements described in the original 1991 CERN
“HTML Tags” note, each in its usual use case. Each example states whether it still
<em>performs as expected in a modern browser</em>: ✓ Yes, or ✗ No.
</p>
<hr>
<h2>Use case 1 — Document title</h2>
<p><strong>Title:</strong> Title of the page | <strong>Date:</strong> 2026-10-25</p>
<p>The <code><title></code> element names the document. It appears in the browser tab, shown in the <code><head></code> of this page.</p>
<p><strong>Performs as expected:</strong> ✓ Yes</p>
<hr>
<h2>Use case 2 — Headings</h2>
<p><strong>Title:</strong> Six heading levels | <strong>Date:</strong> 2026-10-25</p>
<h1>Heading level 1</h1>
<h2>Heading level 2</h2>
<h3>Heading level 3</h3>
<h4>Heading level 4</h4>
<h5>Heading level 5</h5>
<h6>Heading level 6</h6>
<p><strong>Performs as expected:</strong> ✓ Yes</p>
<hr>
<h2>Use case 3 — Paragraphs</h2>
<p><strong>Title:</strong> Paragraph text | <strong>Date:</strong> 2026-10-25</p>
<p>This is a paragraph. In 1991 the <code><p></code> tag was a separator between paragraphs rather than a container, but modern browsers treat it as a block container.</p>
<p>This is a second paragraph.</p>
<p><strong>Performs as expected:</strong> ✓ Yes</p>
<hr>
<h2>Use case 4 — Hyperlink anchor</h2>
<p><strong>Title:</strong> A link to another document | <strong>Date:</strong> 2026-10-25</p>
<p>Visit the <a href="https://www.w3.org/History/19921103-hypertext/hypertext/WWW/MarkUp/Tags.html">original 1991 HTML Tags note</a>.</p>
<p><strong>Performs as expected:</strong> ✓ Yes</p>
<hr>
<h2>Use case 5 — Link target (named anchor)</h2>
<p><strong>Title:</strong> A named destination | <strong>Date:</strong> 2026-10-25</p>
<p><a name="section-five">This point</a> can be linked to with a fragment identifier.</p>
<p><strong>Performs as expected:</strong> ✗ No — the <code>name</code> attribute on <code><a></code> is obsolete; modern pages use <code>id</code> instead.</p>
<hr>
<h2>Use case 6 — Unordered list</h2>
<p><strong>Title:</strong> A bulleted list | <strong>Date:</strong> 2026-10-25</p>
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ul>
<p><strong>Performs as expected:</strong> ✓ Yes</p>
<hr>
<h2>Use case 7 — Menu list</h2>
<p><strong>Title:</strong> A compact menu list | <strong>Date:</strong> 2026-10-25</p>
<menu>
<li>New</li>
<li>Open</li>
<li>Save</li>
</menu>
<p><strong>Performs as expected:</strong> ✗ No — the 1991 “compact menu list” meaning is gone; modern <code><menu></code> is redefined as a command/toolbar list.</p>
<hr>
<h2>Use case 8 — Directory list</h2>
<p><strong>Title:</strong> A short-item directory list | <strong>Date:</strong> 2026-10-25</p>
<dir>
<li>bin</li>
<li>etc</li>
<li>usr</li>
</dir>
<p><strong>Performs as expected:</strong> ✗ No — <code><dir></code> is obsolete and removed from HTML; use <code><ul></code>.</p>
<hr>
<h2>Use case 9 — Definition (glossary) list</h2>
<p><strong>Title:</strong> A glossary list | <strong>Date:</strong> 2026-10-25</p>
<dl>
<dt>HTML</dt>
<dd>HyperText Markup Language.</dd>
<dt>URL</dt>
<dd>Uniform Resource Locator.</dd>
</dl>
<p><strong>Performs as expected:</strong> ✓ Yes</p>
<hr>
<h2>Use case 10 — Address block</h2>
<p><strong>Title:</strong> Authorship information | <strong>Date:</strong> 2026-10-25</p>
<address>
Written at CERN, 1991.
</address>
<p><strong>Performs as expected:</strong> ✓ Yes</p>
<hr>
<h2>Use case 11 — Preformatted example text</h2>
<p><strong>Title:</strong> Literal monospaced text | <strong>Date:</strong> 2026-10-25</p>
<xmp>
<A NAME=xxx HREF="..."> ... </A>
</xmp>
<p><strong>Performs as expected:</strong> ✗ No — <code><xmp></code> is obsolete; use <code><pre></code> with escaped <code><code></code>.</p>
<hr>
<h2>Use case 12 — Searchable-document prompt</h2>
<p><strong>Title:</strong> A keyword search prompt | <strong>Date:</strong> 2026-10-25</p>
<p><code><isindex></code> declared a document as searchable. (Not emitted live here because it no longer renders a prompt.)</p>
<p><strong>Performs as expected:</strong> ✗ No — <code><isindex></code> is obsolete; use an <code><input></code> in a <code><form></code>.</p>
<hr>
<p><strong>Summary:</strong> The structural elements (title, headings, paragraphs, links, lists,
definition lists, address) still perform as expected. The 1991-specific legacy tags
(named <code><a></code>, old <code><menu></code>, <code><dir></code>,
<code><xmp></code>, <code><isindex></code>) do not.</p>
</body>
</html>