UNPKG

1.6 kBTypeScriptView Raw
1declare namespace htmlTags {
2 export type htmlTags =
3 | 'a'
4 | 'abbr'
5 | 'address'
6 | 'area'
7 | 'article'
8 | 'aside'
9 | 'audio'
10 | 'b'
11 | 'base'
12 | 'bdi'
13 | 'bdo'
14 | 'blockquote'
15 | 'body'
16 | 'br'
17 | 'button'
18 | 'canvas'
19 | 'caption'
20 | 'cite'
21 | 'code'
22 | 'col'
23 | 'colgroup'
24 | 'data'
25 | 'datalist'
26 | 'dd'
27 | 'del'
28 | 'details'
29 | 'dfn'
30 | 'dialog'
31 | 'div'
32 | 'dl'
33 | 'dt'
34 | 'em'
35 | 'embed'
36 | 'fieldset'
37 | 'figcaption'
38 | 'figure'
39 | 'footer'
40 | 'form'
41 | 'h1'
42 | 'h2'
43 | 'h3'
44 | 'h4'
45 | 'h5'
46 | 'h6'
47 | 'head'
48 | 'header'
49 | 'hgroup'
50 | 'hr'
51 | 'html'
52 | 'i'
53 | 'iframe'
54 | 'img'
55 | 'input'
56 | 'ins'
57 | 'kbd'
58 | 'label'
59 | 'legend'
60 | 'li'
61 | 'link'
62 | 'main'
63 | 'map'
64 | 'mark'
65 | 'math'
66 | 'menu'
67 | 'menuitem'
68 | 'meta'
69 | 'meter'
70 | 'nav'
71 | 'noscript'
72 | 'object'
73 | 'ol'
74 | 'optgroup'
75 | 'option'
76 | 'output'
77 | 'p'
78 | 'param'
79 | 'picture'
80 | 'pre'
81 | 'progress'
82 | 'q'
83 | 'rb'
84 | 'rp'
85 | 'rt'
86 | 'rtc'
87 | 'ruby'
88 | 's'
89 | 'samp'
90 | 'script'
91 | 'section'
92 | 'select'
93 | 'slot'
94 | 'small'
95 | 'source'
96 | 'span'
97 | 'strong'
98 | 'style'
99 | 'sub'
100 | 'summary'
101 | 'sup'
102 | 'svg'
103 | 'table'
104 | 'tbody'
105 | 'td'
106 | 'template'
107 | 'textarea'
108 | 'tfoot'
109 | 'th'
110 | 'thead'
111 | 'time'
112 | 'title'
113 | 'tr'
114 | 'track'
115 | 'u'
116 | 'ul'
117 | 'var'
118 | 'video'
119 | 'wbr'
120}
121
122/**
123List of standard HTML tags.
124
125@example
126```
127import htmlTags = require('html-tags');
128
129console.log(htmlTags);
130//=> ['a', 'abbr', 'acronym', …]
131```
132*/
133declare const htmlTags: readonly htmlTags.htmlTags[];
134
135export = htmlTags;