Skip to content

Commit

Permalink
Docs: Update doctype-html5 rule page (#1452)
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff authored Jul 11, 2024
1 parent aab8d6d commit 71b70a5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/user-guide/rules/doctype-html5.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: doctype-html5
title: Doctype HTML5
title: doctype-html5
---

Rule ID: `doctype-html5`
Expand All @@ -20,3 +20,10 @@ The following pattern are **not** considered violations:
```html
<!DOCTYPE HTML><html>
```

The following pattern is considered a violation:

<!-- prettier-ignore -->
```html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
```

0 comments on commit 71b70a5

Please sign in to comment.