メインコンテンツまでスキップ

deprecated-element

非推奨(deprecated)もしくは廃止(obsolete)または非標準(non-standard)な要素があると警告します。

HTML Living Standardを基準としてMDN Web docsから最新情報を確認しています。 @markuplint/html-specに設定値を持っています。

❌ 間違ったコード例

<font color="red">lorem</font>

✅ 正しいコード例

<span class="red">lorem</span>

Interface

{
"deprecated-element": boolean
}

Default Severity

error