Skip to content

obsolete tag

Bhsd edited this page May 22, 2026 · 4 revisions

⚠️ By default, this rule reports obsolete HTML tags as warnings. See also: Help:Lint errors/obsolete-tag.

Options

tag name

This rule can be configured for specific HTML tags by providing an object with the tag name as the key and the severity as the value.

Examples of incorrect code for { "obsolete-tag": [ 0, { "tt": 2 } ] }:

<tt>Foo</tt>

Examples of correct code for { "obsolete-tag": { "tt": 0 } }:

<tt>Foo</tt>

Clone this wiki locally