Skip to content
Sid Vishnoi edited this page Jul 8, 2020 · 12 revisions

<h1>

The recommended way to set the title of a specification is via a <title> element. However, in cases where you might need markup in a spec's title (e.g., for i18n reasons), you can use a single <h1 id="title"> element.

ReSpec warns if the <title> and the <h1> text content do not match.

<body>
  <h1 id="title">The <code>Whatever</code> Interface</h1>
  <section id="abstract">
    <p>...</p>
  </section>
</body>

Guides

Configuration options

W3C Configuration options

Linter rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

WebIDL

HTML attributes

CSS Classes

Special properties

Clone this wiki locally