File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ Includes attributes from HTML 4 and HTML (the WHATWG living standard).
13
13
> ** Note** : Attributes which were not global in HTML 4 but are in HTML, are only
14
14
> included in the list of global attributes.
15
15
16
- ## Installation
16
+ ## Install
17
17
18
18
[ npm] [ ] :
19
19
20
- ``` bash
20
+ ``` sh
21
21
npm install html-element-attributes
22
22
```
23
23
24
- ## Usage
24
+ ## Use
25
25
26
- ``` javascript
26
+ ``` js
27
27
var htmlElementAttributes = require (' html-element-attributes' )
28
28
29
29
console .log (htmlElementAttributes[' *' ])
@@ -55,6 +55,23 @@ lower-case attribute names.
55
55
The object contains one special key: ` '*' ` , which contains global
56
56
attributes which apply to all HTML elements.
57
57
58
+ ## Related
59
+
60
+ * [ ` web-namespaces ` ] ( https://github.com/wooorm/web-namespaces )
61
+ — List of web namespaces
62
+ * [ ` html-tag-names ` ] ( https://github.com/wooorm/html-tag-names )
63
+ — List of HTML tags
64
+ * [ ` mathml-tag-names ` ] ( https://github.com/wooorm/mathml-tag-names )
65
+ — List of MathML tags
66
+ * [ ` svg-tag-names ` ] ( https://github.com/wooorm/svg-tag-names )
67
+ — List of SVG tags
68
+ * [ ` html-void-elements ` ] ( https://github.com/wooorm/html-void-elements )
69
+ — List of void HTML tag-names
70
+ * [ ` svg-element-attributes ` ] ( https://github.com/wooorm/svg-element-attributes )
71
+ — Map of SVG elements to allowed attributes
72
+ * [ ` aria-attributes ` ] ( https://github.com/wooorm/aria-attributes )
73
+ — List of ARIA attributes
74
+
58
75
## License
59
76
60
77
[ MIT] [ license ] © [ Titus Wormer] [ author ]
You can’t perform that action at this time.
0 commit comments