title element - speced/respec GitHub Wiki

<title>

The <title> HTML element sets the title of the specification. ReSpec uses its content to generate the document's <h1> heading and the document header title block.

Usage

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Payment Request API</title>
  <!-- ... -->
</head>
<body>
  <section id="abstract">
    <p>This specification defines the Payment Request API.</p>
  </section>
</body>
</html>

Notes

  • The <title> is the simplest and recommended way to set the spec title
  • If you need markup in the title (e.g., <code> or non-ASCII characters), use <h1 id="title"> instead
  • Keep the <title> and any <h1 id="title"> in sync — ReSpec warns if they differ
⚠️ **GitHub.com Fallback** ⚠️