-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshowcase.html
More file actions
25 lines (24 loc) · 1.79 KB
/
showcase.html
File metadata and controls
25 lines (24 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html> -- Missing required attributes: lang
<body>
<p ="my-class">Hello World</p> -- Attribute name missing, expected a name before the = sign
<p Class="my-class">Hello World</p> -- Attribute name `Class` should be in kebab-case, change to `class`
<canvas xyz></canvas> -- `xyz` not allowed, must be a global attribute or: `height, width`
<p class="myClass">Hello World</p> -- Attribute value `myClass` should be in kebab-case, change to `my-class`
<p class='my-class'>Hello World</p> -- Attribute value must be quoted with ""
<button type="clickable"></button> -- Attribute value `clickable` must be one of `submit, reset, button`
<p id="my-id" class="my-class">Hello World</p> -- Attribute `class` must be before `id`
<input checked="true" /> -- Boolean Attribute must have no value `checked`
<p class="my-class" class="another-class">Hello World</p> -- Attribute "class" appears more than once
<p class="flex-row flex">Hello World</p> -- `flex` must be before `flex-row`
<p id="SomeId">Hello World</p> -- Attribute value `SomeId` should be in kebab-case, change to `some-id`
<p id="a">Hello World</p><span id="a"></span> -- id value `a` is used more than once
<ul>Hello World<li></li></ul> -- `ul` tags must not contain text content
<p> </p> -- `p` tags must contain text
<homemade> </homemade> -- Tag `homemade` is not allowed
<1-p></1-p> -- Tag name `1-p` must match the regexp `^[A-Za-z][A-Za-z0-9.-]*$`
<P></P> -- Tag name "P" should be in lowercase, change to "p"
<footer><header>Hello World</header></footer> -- `header` not allowed within `footer`
<address><span><h1>Hello World</h1></span></address> -- `h1` not allowed within `address`
<abbr><a><address>Hello</address></a></abbr> -- `address` is not allowed within `abbr`
</body>
</html>