03-html-3.2.demo.html
html-spec/examples/03-html-3.2.demo.html · 118 line(s) · html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML 3.2 "Wilbur" (1997) — Use-Case Demonstration</title>
</head>
<body>
<h1>HTML 3.2 "Wilbur" (1997) — Use-Case Demonstration</h1>
<p><strong>Date:</strong> 2026-10-25</p>
<p>
This document demonstrates the elements HTML 3.2 added (tables, generic containers, image maps,
applets, and a wave of presentational tags) in their usual use cases. Each example states whether
it still <em>performs as expected in a modern browser</em>: ✓ Yes, or ✗ No.
</p>
<hr>
<h2>Use case 1 — Generic block container</h2>
<p><strong>Title:</strong> A div grouping | <strong>Date:</strong> 2026-10-25</p>
<div>
<p>A <code><div></code> groups related content into a block. New in HTML 3.2.</p>
</div>
<p><strong>Performs as expected:</strong> ✓ Yes</p>
<hr>
<h2>Use case 2 — Data table (flat model)</h2>
<p><strong>Title:</strong> A table of data | <strong>Date:</strong> 2026-10-25</p>
<table border="1">
<caption>Browser release years</caption>
<tr><th>Browser</th><th>Year</th></tr>
<tr><td>Mosaic</td><td>1993</td></tr>
<tr><td>Netscape</td><td>1994</td></tr>
</table>
<p><strong>Performs as expected:</strong> ✓ Yes — tables (<code>table</code>, <code>caption</code>, <code>tr</code>, <code>th</code>, <code>td</code>) were new in HTML 3.2.</p>
<hr>
<h2>Use case 3 — Superscript and subscript</h2>
<p><strong>Title:</strong> Scientific notation | <strong>Date:</strong> 2026-10-25</p>
<p>Water is H<sub>2</sub>O; energy is E = mc<sup>2</sup>.</p>
<p><strong>Performs as expected:</strong> ✓ Yes</p>
<hr>
<h2>Use case 4 — Defining term</h2>
<p><strong>Title:</strong> First use of a term | <strong>Date:</strong> 2026-10-25</p>
<p>A <dfn>hyperlink</dfn> is a reference the reader can follow.</p>
<p><strong>Performs as expected:</strong> ✓ Yes</p>
<hr>
<h2>Use case 5 — Client-side image map</h2>
<p><strong>Title:</strong> Clickable image regions | <strong>Date:</strong> 2026-10-25</p>
<p>
<img src="https://www.w3.org/Icons/w3c_home" alt="Logo" width="72" height="48" usemap="#logomap">
<map name="logomap">
<area shape="rect" coords="0,0,72,48" href="https://www.w3.org/" alt="W3C home">
</map>
</p>
<p><strong>Performs as expected:</strong> ✓ Yes — <code>map</code>/<code>area</code> were new in HTML 3.2.</p>
<hr>
<h2>Use case 6 — Centering content</h2>
<p><strong>Title:</strong> Centered block | <strong>Date:</strong> 2026-10-25</p>
<center>
<p>This content is centered with the <code><center></code> tag.</p>
</center>
<p><strong>Performs as expected:</strong> ✗ No — <code><center></code> is obsolete; use CSS <code>text-align</code> / margins.</p>
<hr>
<h2>Use case 7 — Font styling</h2>
<p><strong>Title:</strong> Inline font control | <strong>Date:</strong> 2026-10-25</p>
<p><font size="5" color="maroon">Large coloured text via the font tag.</font></p>
<p><strong>Performs as expected:</strong> ✗ No — <code><font></code> is obsolete; use CSS.</p>
<hr>
<h2>Use case 8 — Strikethrough and underline</h2>
<p><strong>Title:</strong> Presentational text | <strong>Date:</strong> 2026-10-25</p>
<p>This has <strike>struck-through</strike> and <u>underlined</u> text.</p>
<p><strong>Performs as expected:</strong> ✗ No — <code><strike></code> is obsolete (use <code><s></code>/<code><del></code>); <code><u></code> now means annotation, not “underline”.</p>
<hr>
<h2>Use case 9 — Big and small text</h2>
<p><strong>Title:</strong> Relative text size | <strong>Date:</strong> 2026-10-25</p>
<p>This is <big>bigger</big> and this is <small>smaller</small>.</p>
<p><strong>Performs as expected:</strong> ✗ No for <code><big></code> (obsolete; use CSS). ✓ Yes for <code><small></code> (redefined as fine-print semantics, still valid).</p>
<hr>
<h2>Use case 10 — Embedded Java applet</h2>
<p><strong>Title:</strong> An applet with a parameter | <strong>Date:</strong> 2026-10-25</p>
<p>
<applet code="Clock.class" width="150" height="150">
<param name="bgcolor" value="white">
Your browser does not support applets.
</applet>
</p>
<p><strong>Performs as expected:</strong> ✗ No — <code><applet></code> is obsolete and no longer executes; use <code><object></code>/<code><embed></code> or modern web technology.</p>
<hr>
<p><strong>Summary:</strong> HTML 3.2's structural additions (<code>div</code>, tables, image maps,
<code>sub</code>/<code>sup</code>, <code>dfn</code>, <code>small</code>) perform as expected. Its
presentational additions (<code>center</code>, <code>font</code>, <code>strike</code>,
<code>u</code>-as-underline, <code>big</code>) and <code><applet></code> do not — CSS and
modern embedding replaced them.</p>
</body>
</html>