Skip to content

Commit a70e88f

Browse files
committed
Refactor prose
1 parent 8f50d6f commit a70e88f

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

readme.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,25 @@
44
[![Downloads][downloads-badge]][downloads]
55
[![Size][size-badge]][size]
66

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.
1010

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.
1314

14-
## Installation
15+
## Install
1516

1617
[npm][]:
1718

18-
```bash
19+
```sh
1920
npm install html-void-elements
2021
```
2122

22-
## Usage
23+
## Use
2324

24-
```javascript
25+
```js
2526
var htmlVoidElements = require('html-void-elements')
2627

2728
console.log(htmlVoidElements)
@@ -59,7 +60,7 @@ Yields:
5960

6061
### `htmlVoidElements`
6162

62-
`Array.<string>` — List of lower-case tag-names.
63+
`Array.<string>` — List of lower-case tag names.
6364

6465
## License
6566

0 commit comments

Comments
 (0)