File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 4
4
[ ![ Downloads] [ downloads-badge ]] [ downloads ]
5
5
[ ![ Size] [ size-badge ]] [ size ]
6
6
7
- List of known void HTML elements. Includes ancient (for example,
8
- ` nextid ` and ` basefont ` ) and modern (for example, ` img ` and
9
- ` meta ` ) tag- names from both W3C and WHATWG .
7
+ List of known void HTML elements.
8
+ Includes ancient (such as ` nextid ` and ` basefont ` ) and modern (such as ` img ` and
9
+ ` meta ` ) tag names from the HTML living standard .
10
10
11
- ** Note** : there’s one special case: ` menuitem ` . W3C specifies it to be
12
- void, but WHATWG doesn’t. I suggest using the void form.
11
+ ** Note** : there’s one special case: ` menuitem ` .
12
+ W3C specifies it to be void, but WHATWG doesn’t.
13
+ I suggest using the void form.
13
14
14
- ## Installation
15
+ ## Install
15
16
16
17
[ npm] [ ] :
17
18
18
- ``` bash
19
+ ``` sh
19
20
npm install html-void-elements
20
21
```
21
22
22
- ## Usage
23
+ ## Use
23
24
24
- ``` javascript
25
+ ``` js
25
26
var htmlVoidElements = require (' html-void-elements' )
26
27
27
28
console .log (htmlVoidElements)
@@ -59,7 +60,7 @@ Yields:
59
60
60
61
### ` htmlVoidElements `
61
62
62
- ` Array.<string> ` — List of lower-case tag- names.
63
+ ` Array.<string> ` — List of lower-case tag names.
63
64
64
65
## License
65
66
You can’t perform that action at this time.
0 commit comments