Skip to content
Marcos Caceres edited this page Mar 27, 2026 · 11 revisions

license

Type: string Default: "w3c-software-doc"

The copyright license for the document.

Basic usage

var respecConfig = {
  // w3c-software-doc is already the default for W3C documents
};
var respecConfig = {
  license: "cc0",
};

Valid values

Value License Notes
"w3c-software-doc" W3C Software and Document License Default for W3C documents. Recommended.
"w3c-software" W3C Software License Permissive, GPL-compatible, attribution required.
"cc0" CC0 Maximally permissive. Recommended for WHATWG documents. Not supported for W3C.
"cc-by" CC-BY Experimentally available in some groups. Uses dual licensing.
"document" W3C Document License ⚠️ Not recommended. Use "w3c-software-doc" instead.
"dual" W3C Dual License ⚠️ Not recommended. Use "w3c-software-doc" instead.

Notes

  • For most W3C specifications, the default is correct — no need to set license explicitly
  • cc0 is intended for documents heading to the WHATWG; W3C does not support it

Guides

Configuration options

W3C Configuration options

Linting rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

HTML attributes

CSS Classes

Special properties

Clone this wiki locally