UNPKG

1.62 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 | 'search'
92 | 'section'
93 | 'select'
94 | 'slot'
95 | 'small'
96 | 'source'
97 | 'span'
98 | 'strong'
99 | 'style'
100 | 'sub'
101 | 'summary'
102 | 'sup'
103 | 'svg'
104 | 'table'
105 | 'tbody'
106 | 'td'
107 | 'template'
108 | 'textarea'
109 | 'tfoot'
110 | 'th'
111 | 'thead'
112 | 'time'
113 | 'title'
114 | 'tr'
115 | 'track'
116 | 'u'
117 | 'ul'
118 | 'var'
119 | 'video'
120 | 'wbr'
121}
122
123/**
124List of standard HTML tags.
125
126@example
127```
128import htmlTags = require('html-tags');
129
130console.log(htmlTags);
131//=> ['a', 'abbr', 'acronym', …]
132```
133*/
134declare const htmlTags: readonly htmlTags.htmlTags[];
135
136export = htmlTags;