Skip to content
Marcos Cáceres edited this page Mar 19, 2018 · 12 revisions

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 match.

Example

<doctype html>
<title>The Whatever Interface</title>
<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