vaderjs 1.2.9 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1891 +0,0 @@
1
- {
2
- "tags": {
3
- "a": {
4
- "body": "<a>${2:text}</a>",
5
- "description": "If the a tag contains a href value, then it is considered a hyperlink.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/a)",
6
- "link": "http://www.w3schools.com/tags/tag_a.asp"
7
- },
8
- "<>":{
9
- "body": "<${1:tag}>${2:text}</${1:tag}>",
10
- "description": "This is a void tag",
11
- "link": "http://www.w3schools.com/tags/tag_a.asp"
12
- },
13
- "div": {
14
- "body": "<div>${1:text}</div>",
15
- "description": "The div tag defines a division or a section in an HTML document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/div)",
16
- "link": "http://www.w3schools.com/tags/tag_div.asp"
17
- },
18
- "h1": {
19
- "body": "<h1>${1:text}</h1>",
20
- "description": "The h1 tag defines a large heading.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)",
21
- "link": "http://www.w3schools.com/tags/tag_hn.asp"
22
- },
23
- "h2": {
24
- "body": "<h2>${1:text}</h2>",
25
- "description": "The h2 tag defines a medium level 2 heading.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)",
26
- "link": "http://www.w3schools.com/tags/tag_hn.asp"
27
- },
28
- "h3": {
29
- "body": "<h3>${1:text}</h3>",
30
- "description": "The h3 tag defines a small level 3heading.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)",
31
- "link": "http://www.w3schools.com/tags/tag_hn.asp"
32
- },
33
- "h4": {
34
- "body": "<h4>${1:text}</h4>",
35
- "description": "The h4 tag defines a small level 4 heading.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)",
36
- "link": "http://www.w3schools.com/tags/tag_hn.asp"
37
- },
38
- "h5": {
39
- "body": "<h5>${1:text}</h5>",
40
- "description": "The h5 tag defines a small level 5 heading.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)",
41
- "link": "http://www.w3schools.com/tags/tag_hn.asp"
42
- },
43
- "h6": {
44
- "body": "<h6>${1:text}</h6>",
45
- "description": "The h6 tag defines a small level 6 heading.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)",
46
- "link": "http://www.w3schools.com/tags/tag_hn.asp"
47
- },
48
- "p": {
49
- "body": "<p>${1:text}</p>",
50
- "description": "The p tag defines a paragraph.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/p)"
51
- },
52
- "html": {
53
- "body": "<html>\n\t${1:text}\n</html>",
54
- "description": "The html tag defines an HTML document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/html)",
55
- "link": "http://www.w3schools.com/tags/tag_html.asp"
56
- },
57
- "head": {
58
- "body": "<head>\n\t${1:text}\n</head>",
59
- "description": "The head tag contains meta information about the HTML document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/head)",
60
- "link": "http://www.w3schools.com/tags/tag_head.asp"
61
- },
62
- "body": {
63
- "body": "<body>\n\t${1:text}\n</body>",
64
- "description": "The body tag defines the document's body.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/body)",
65
- "link": "http://www.w3schools.com/tags/tag_body.asp"
66
- },
67
- "title": {
68
- "body": "<title>${1:text}</title>",
69
- "description": "The title tag defines the document's title that is shown in a browser's title bar or a page's tab.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/title)",
70
- "link": "http://www.w3schools.com/tags/tag_title.asp"
71
- },
72
- "link": {
73
- "body": "<link rel=\"${1:stylesheet}\" href=\"${2:url}\">",
74
- "deprecated":true,
75
- "description": "The link tag defines the relationship between a document and an external resource. Links can only be used in an html file and get removed at render!\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/link)",
76
- "link": "http://www.w3schools.com/tags/tag_link.asp"
77
- },
78
- "script": {
79
- "body": "<script src=\"${1:url}\"></script>",
80
- "deprecated":true,
81
- "description": "The script tag is used to define a client-side script, such as a JavaScript. Use external scripts in vaderjs apps - script tags get removed at render!\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/script)",
82
- "link": "http://www.w3schools.com/tags/tag_script.asp"
83
- },
84
- "style": {
85
- "body": "<style>\n\t${1:text}\n</style>",
86
- "deprecated":true,
87
- "description": "The style tag is used to define style information for an HTML document. Please use external stylesheets in vaderjs apps!\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/style)",
88
- "link": "http://www.w3schools.com/tags/tag_style.asp"
89
- },
90
- "${1:code}": {
91
- "body": "<${1:code}>${2:text}</${1:code}>",
92
- "description": "${} Allows you to execute javascript in your templates - \n keep in mind you have to ensure proper sanititzation!",
93
- "link": "http://www.w3schools.com/tags/tag_${1:tag}.asp"
94
- },
95
- "img": {
96
- "body": "<img src=\"${1:url}\" alt=\"${2:alt}\">",
97
- "description": "The img tag defines an image in an HTML document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/img)",
98
- "link": "http://www.w3schools.com/tags/tag_img.asp"
99
- },
100
- "meta": {
101
- "body": "<meta ${1:name}=\"${2:value}\">",
102
- "description": "The meta tag provides metadata about the HTML document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/meta)",
103
- "link": "http://www.w3schools.com/tags/tag_meta.asp"
104
- },
105
- "form": {
106
- "body": "<form action=\"${1:url}\" method=\"${2:get}\">\n\t${3:text}\n</form>",
107
- "description": "The form tag defines an HTML form that is used to collect user input.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/form)",
108
- "link": "http://www.w3schools.com/tags/tag_form.asp"
109
- },
110
- "input": {
111
- "body": "<input type=\"${1|text,password,checkbox,radio,submit,reset,file,hidden,image,button|}\" name=\"${2:name}\" value=\"${3:value}\">",
112
- "description": "The input tag defines an input control.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/input)",
113
- "link": "http://www.w3schools.com/tags/tag_input.asp"
114
- },
115
- "button": {
116
- "body": "<button>${1:text}</button>",
117
- "description": "The button tag defines a clickable button.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/button)",
118
- "link": "http://www.w3schools.com/tags/tag_button.asp"
119
- },
120
- "label": {
121
- "body": "<label>${1:text}</label>",
122
- "description": "The label tag defines a label for an input element.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/label)",
123
- "link": "http://www.w3schools.com/tags/tag_label.asp"
124
- },
125
- "ul": {
126
- "body": "<ul>\n\t${1:text}\n</ul>",
127
- "description": "The ul tag defines an unordered (bulleted) list.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ul)",
128
- "link": "http://www.w3schools.com/tags/tag_ul.asp"
129
- },
130
- "ol": {
131
- "body": "<ol>\n\t${1:text}\n</ol>",
132
- "description": "The ol tag defines an ordered list.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ol)",
133
- "link": "http://www.w3schools.com/tags/tag_ol.asp"
134
- },
135
- "li": {
136
- "body": "<li>${1:text}</li>",
137
- "description": "The li tag defines a list item.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/li)",
138
- "link": "http://www.w3schools.com/tags/tag_li.asp"
139
- },
140
- "table": {
141
- "body": "<table>\n\t${1:text}\n</table>",
142
- "description": "The table tag defines an HTML table.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/table)",
143
- "link": "http://www.w3schools.com/tags/tag_table.asp"
144
- },
145
- "tr": {
146
- "body": "<tr>\n\t${1:text}\n</tr>",
147
- "description": "The tr tag defines a row in an HTML table.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tr)",
148
- "link": "http://www.w3schools.com/tags/tag_tr.asp"
149
- },
150
- "th": {
151
- "body": "<th>${1:text}</th>",
152
- "description": "The th tag defines a header cell in an HTML table.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/th)",
153
- "link": "http://www.w3schools.com/tags/tag_th.asp"
154
- },
155
- "td": {
156
- "body": "<td>${1:text}</td>",
157
- "description": "The td tag defines a standard cell in an HTML table.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/td)",
158
- "link": "http://www.w3schools.com/tags/tag_td.asp"
159
- },
160
- "thead": {
161
- "body": "<thead>\n\t${1:text}\n</thead>",
162
- "description": "The thead tag defines a header in an HTML table.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/thead)",
163
- "link": "http://www.w3schools.com/tags/tag_thead.asp"
164
- },
165
- "tbody": {
166
- "body": "<tbody>\n\t${1:text}\n</tbody>",
167
- "description": "The tbody tag groups the body content in an HTML table.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tbody)",
168
- "link": "http://www.w3schools.com/tags/tag_tbody.asp"
169
- },
170
- "tfoot": {
171
- "body": "<tfoot>\n\t${1:text}\n</tfoot>",
172
- "description": "The tfoot tag groups the footer content in an HTML table.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tfoot)",
173
- "link": "http://www.w3schools.com/tags/tag_tfoot.asp"
174
- },
175
- "caption": {
176
- "body": "<caption>${1:text}</caption>",
177
- "description": "The caption tag defines a table caption.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/caption)",
178
- "link": "http://www.w3schools.com/tags/tag_caption.asp"
179
- },
180
- "colgroup": {
181
- "body": "<colgroup>\n\t${1:text}\n</colgroup>",
182
- "description": "The colgroup tag specifies a group of one or more columns in a table for formatting.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup)",
183
- "link": "http://www.w3schools.com/tags/tag_colgroup.asp"
184
- },
185
- "col": {
186
- "body": "<col>",
187
- "description": "The col tag specifies column properties for each column within a colgroup element.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/col)",
188
- "link": "http://www.w3schools.com/tags/tag_col.asp"
189
- },
190
- "blockquote": {
191
- "body": "<blockquote>${1:text}</blockquote>",
192
- "description": "The blockquote tag defines a section that is quoted from another source.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/blockquote)",
193
- "link": "http://www.w3schools.com/tags/tag_blockquote.asp"
194
- },
195
- "q": {
196
- "body": "<q>${1:text}</q>",
197
- "description": "The q tag defines a short quotation.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/q)",
198
- "link": "http://www.w3schools.com/tags/tag_q.asp"
199
- },
200
- "include": {
201
- "body": "<include src=\"${1:url}\"/>",
202
- "description": "Allows you to include other views into your vaderjs templates!",
203
- "link": "http://www.w3schools.com/tags/tag_include.asp",
204
- "type": "keyword"
205
- },
206
-
207
- "abbr": {
208
- "body": "<abbr>${1:text}</abbr>",
209
- "description": "The abbr tag defines an abbreviation or an acronym.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/abbr)",
210
- "link": "http://www.w3schools.com/tags/tag_abbr.asp"
211
- },
212
- "address": {
213
- "body": "<address>${1:text}</address>",
214
- "description": "The address tag defines contact information for the author/owner of a document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/address)",
215
- "link": "http://www.w3schools.com/tags/tag_address.asp"
216
- },
217
- "b": {
218
- "body": "<b>${1:text}</b>",
219
- "description": "The b tag defines bold text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/b)",
220
- "link": "http://www.w3schools.com/tags/tag_b.asp"
221
- },
222
- "bdi": {
223
- "body": "<bdi>${1:text}</bdi>",
224
- "description": "The bdi tag isolates a part of text that might be formatted in a different direction from other text outside it.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/bdi)",
225
- "link": "http://www.w3schools.com/tags/tag_bdi.asp"
226
- },
227
- "bdo": {
228
- "body": "<bdo>${1:text}</bdo>",
229
- "description": "The bdo tag overrides the current text direction.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/bdo)",
230
- "link": "http://www.w3schools.com/tags/tag_bdo.asp"
231
- },
232
- "del": {
233
- "body": "<del>${1:text}</del>",
234
- "description": "The del tag defines text that has been deleted from a document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/del)",
235
- "link": "http://www.w3schools.com/tags/tag_del.asp"
236
- },
237
- "ins": {
238
- "body": "<ins>${1:text}</ins>",
239
- "description": "The ins tag defines a text that has been inserted into a document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ins)",
240
- "link": "http://www.w3schools.com/tags/tag_ins.asp"
241
- },
242
- "dfn": {
243
- "body": "<dfn>${1:text}</dfn>",
244
- "description": "The dfn tag represents the defining instance of a term.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dfn)",
245
- "link": "http://www.w3schools.com/tags/tag_dfn.asp"
246
- },
247
- "mark": {
248
- "body": "<mark>${1:text}</mark>",
249
- "description": "The mark tag defines marked/highlighted text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/mark)",
250
- "link": "http://www.w3schools.com/tags/tag_mark.asp"
251
- },
252
- "em": {
253
- "body": "<em>${1:text}</em>",
254
- "description": "The em tag defines emphasized text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/em)",
255
- "link": "http://www.w3schools.com/tags/tag_em.asp"
256
- },
257
- "strong": {
258
- "body": "<strong>${1:text}</strong>",
259
- "description": "The strong tag defines important text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/strong)",
260
- "link": "http://www.w3schools.com/tags/tag_strong.asp"
261
- },
262
- "small": {
263
- "body": "<small>${1:text}</small>",
264
- "description": "The small tag defines smaller text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/small)",
265
- "link": "http://www.w3schools.com/tags/tag_small.asp"
266
- },
267
- "s": {
268
- "body": "<s>${1:text}</s>",
269
- "description": "The s tag defines text that is no longer correct.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/s)",
270
- "link": "http://www.w3schools.com/tags/tag_s.asp"
271
- },
272
- "cite": {
273
- "body": "<cite>${1:text}</cite>",
274
- "description": "The cite tag defines the title of a work.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/cite)",
275
- "link": "http://www.w3schools.com/tags/tag_cite.asp"
276
- },
277
- "code": {
278
- "body": "<code>${1:text}</code>",
279
- "description": "The code tag defines a piece of computer code.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/code)",
280
- "link": "http://www.w3schools.com/tags/tag_code.asp"
281
- },
282
-
283
- "kbd": {
284
- "body": "<kbd>${1:text}</kbd>",
285
- "description": "The kbd tag defines keyboard input.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/kbd)",
286
- "link": "http://www.w3schools.com/tags/tag_kbd.asp"
287
- },
288
- "svg": {
289
- "body": "<svg>\n\t${1:text}\n</svg>",
290
- "description": "The svg tag defines a container for SVG graphics.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/svg)",
291
- "link": "http://www.w3schools.com/tags/tag_svg.asp"
292
- },
293
-
294
- "var": {
295
- "body": "<var>${1:text}</var>",
296
- "description": "The var tag defines a variable.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/var)",
297
- "link": "http://www.w3schools.com/tags/tag_var.asp"
298
- },
299
- "samp": {
300
- "body": "<samp>${1:text}</samp>",
301
- "description": "The samp tag defines sample output from a computer program.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/samp)",
302
- "link": "http://www.w3schools.com/tags/tag_samp.asp"
303
- },
304
- "sub": {
305
- "body": "<sub>${1:text}</sub>",
306
- "description": "The sub tag defines subscripted text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/sub)",
307
- "link": "http://www.w3schools.com/tags/tag_sub.asp"
308
- },
309
- "sup": {
310
- "body": "<sup>${1:text}</sup>",
311
- "description": "The sup tag defines superscripted text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/sup)",
312
- "link": "http://www.w3schools.com/tags/tag_sup.asp"
313
- },
314
- "time": {
315
- "body": "<time>${1:text}</time>",
316
- "description": "The time tag defines a date/time.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/time)",
317
- "link": "http://www.w3schools.com/tags/tag_time.asp"
318
- },
319
- "u": {
320
- "body": "<u>${1:text}</u>",
321
- "description": "The u tag defines some text that is unarticulated and styled differently from normal text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/u)",
322
- "link": "http://www.w3schools.com/tags/tag_u.asp"
323
- },
324
- "wbr": {
325
- "body": "<wbr>",
326
- "description": "The wbr tag defines a possible line-break.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/wbr)",
327
- "link": "http://www.w3schools.com/tags/tag_wbr.asp"
328
- },
329
- "datalist": {
330
- "body": "<datalist>\n\t${1:text}\n</datalist>",
331
- "description": "The datalist tag specifies a list of pre-defined options for an input element.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/datalist)",
332
- "link": "http://www.w3schools.com/tags/tag_datalist.asp"
333
- },
334
- "optgroup": {
335
- "body": "<optgroup>\n\t${1:text}\n</optgroup>",
336
- "description": "The optgroup tag defines a group of related options in a drop-down list.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/optgroup)",
337
- "link": "http://www.w3schools.com/tags/tag_optgroup.asp"
338
- },
339
- "option": {
340
- "body": "<option>${1:text}</option>",
341
- "description": "The option tag defines an option in a drop-down list.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/option)",
342
- "link": "http://www.w3schools.com/tags/tag_option.asp"
343
- },
344
- "figure": {
345
- "body": "<figure>\n\t${1:text}\n</figure>",
346
- "description": "The figure tag specifies self-contained content, like illustrations, diagrams, photos, code listings, etc.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/figure)",
347
- "link": "http://www.w3schools.com/tags/tag_figure.asp"
348
- },
349
- "figcaption": {
350
- "body": "<figcaption>${1:text}</figcaption>",
351
- "description": "The figcaption tag defines a caption for a figure element.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/figcaption)",
352
- "link": "http://www.w3schools.com/tags/tag_figcaption.asp"
353
- },
354
- "picture": {
355
- "body": "<picture>\n\t${1:text}\n</picture>",
356
- "description": "The picture tag specifies a container for multiple image resources.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/picture)",
357
- "link": "http://www.w3schools.com/tags/tag_picture.asp"
358
- },
359
- "noembed": {
360
- "body": "<noembed>${1:text}</noembed>",
361
- "description": "The noembed tag defines a fallback content for browsers that do not support the embed tag.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/noembed)",
362
- "link": "http://www.w3schools.com/tags/tag_noembed.asp",
363
- "deprecated": true
364
- },
365
- "noframes": {
366
- "body": "<noframes>${1:text}</noframes>",
367
- "description": "The noframes tag defines an alternate content for users that do not support frames.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/noframes)",
368
- "link": "http://www.w3schools.com/tags/tag_noframes.asp",
369
- "deprecated": true
370
- },
371
- "marquee": {
372
- "body": "<marquee>${1:text}</marquee>",
373
- "description": "The marquee tag defines a marquee (scrolling text). Use CSS instead.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/marquee)",
374
- "link": "http://www.w3schools.com/tags/tag_marquee.asp",
375
- "deprecated": true
376
- },
377
- "frameset": {
378
- "body": "<frameset>\n\t${1:text}\n</frameset>",
379
- "description": "The frameset tag defines a frameset.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/frameset)",
380
- "link": "http://www.w3schools.com/tags/tag_frameset.asp",
381
- "deprecated": true
382
- },
383
- "font": {
384
- "body": "<font>${1:text}</font>",
385
- "description": "The font tag is not supported in HTML5. Use CSS instead.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/font)",
386
- "link": "http://www.w3schools.com/tags/tag_font.asp",
387
- "deprecated": true
388
- },
389
- "noscript": {
390
- "body": "<noscript>${1:text}</noscript>",
391
- "description": "The noscript tag defines an alternate content for users that do not support client-side scripts.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/noscript)",
392
- "link": "http://www.w3schools.com/tags/tag_noscript.asp"
393
- },
394
- "image": {
395
- "body": "<image>${1:text}</image>",
396
- "description": "The image tag is not supported in HTML5. Use the img tag instead.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/image)",
397
- "link": "http://www.w3schools.com/tags/tag_image.asp",
398
- "deprecated": true
399
- },
400
- "i": {
401
- "body": "<i>${1:text}</i>",
402
- "description": "The i tag defines a part of text in an alternate voice or mood.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/i)",
403
- "link": "http://www.w3schools.com/tags/tag_i.asp"
404
- },
405
- "main": {
406
- "body": "<main>\n\t${1:text}\n</main>",
407
- "description": "The main tag specifies the main content of a document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/main)",
408
- "link": "http://www.w3schools.com/tags/tag_main.asp"
409
- },
410
- "nav": {
411
- "body": "<nav>\n\t${1:text}\n</nav>",
412
- "description": "The nav tag defines navigation links.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/nav)",
413
- "link": "http://www.w3schools.com/tags/tag_nav.asp"
414
- },
415
- "footer": {
416
- "body": "<footer>\n\t${1:text}\n</footer>",
417
- "description": "The footer tag defines a footer for a document or section.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/footer)",
418
- "link": "http://www.w3schools.com/tags/tag_footer.asp"
419
- },
420
- "header": {
421
- "body": "<header>\n\t${1:text}\n</header>",
422
- "description": "The header tag defines a header for a document or section.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/header)",
423
- "link": "http://www.w3schools.com/tags/tag_header.asp"
424
- },
425
- "summary": {
426
- "body": "<summary>${1:text}</summary>",
427
- "description": "The summary tag defines a visible heading for a details element.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/summary)",
428
- "link": "http://www.w3schools.com/tags/tag_summary.asp"
429
- },
430
- "tt": {
431
- "body": "<tt>${1:text}</tt>",
432
- "description": "The tt tag is not supported in HTML5. Use the code or kbd tag instead.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tt)",
433
- "link": "http://www.w3schools.com/tags/tag_tt.asp",
434
- "deprecated": true
435
- },
436
- "template": {
437
- "body": "<template>\n\t${1:text}\n</template>",
438
- "description": "The template tag is used as a container to hold some HTML content hidden from the user when the page loads.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/template)",
439
- "link": "http://www.w3schools.com/tags/tag_template.asp"
440
- },
441
- "xmp": {
442
- "body": "<xmp>${1:text}</xmp>",
443
- "description": "The xmp tag is not supported in HTML5. Use the pre tag instead.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/xmp)",
444
- "link": "http://www.w3schools.com/tags/tag_xmp.asp",
445
- "deprecated": true
446
- },
447
- "pre": {
448
- "body": "<pre>${1:text}</pre>",
449
- "description": "The pre tag defines preformatted text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/pre)",
450
- "link": "http://www.w3schools.com/tags/tag_pre.asp"
451
- },
452
- "rtc": {
453
- "body": "<rtc>${1:text}</rtc>",
454
- "description": "The rtc tag specifies the ruby text component of a ruby annotation, which is used to provide pronunciation, translation, or transliteration information for East Asian typography.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/rtc)",
455
- "link": "http://www.w3schools.com/tags/tag_rtc.asp",
456
- "deprecated": true
457
- },
458
- "ruby": {
459
- "body": "<ruby>${1:text}</ruby>",
460
- "description": "The ruby tag specifies a ruby annotation, which is used to provide pronunciation, translation, or transliteration information for East Asian typography.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ruby)",
461
- "link": "http://www.w3schools.com/tags/tag_ruby.asp"
462
- },
463
- "section": {
464
- "body": "<section>\n\t${1:text}\n</section>",
465
- "description": "The section tag defines a section in a document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/section)",
466
- "link": "http://www.w3schools.com/tags/tag_section.asp"
467
- },
468
- "select": {
469
- "body": "<select>\n\t${1:text}\n</select>",
470
- "description": "The select tag defines a drop-down list.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/select)",
471
- "link": "http://www.w3schools.com/tags/tag_select.asp"
472
- },
473
- "slot": {
474
- "body": "<slot>${1:text}</slot>",
475
- "description": "The slot tag defines a slot inside a web component that users can fill with their own markup.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/slot)",
476
- "link": "http://www.w3schools.com/tags/tag_slot.asp"
477
- },
478
- "span": {
479
- "body": "<span>${1:text}</span>",
480
- "description": "The span tag is used to group inline-elements in a document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/span)",
481
- "link": "http://www.w3schools.com/tags/tag_span.asp"
482
- },
483
- "legend": {
484
- "body": "<legend>${1:text}</legend>",
485
- "description": "The legend tag defines a caption for the fieldset element.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/legend)",
486
- "link": "http://www.w3schools.com/tags/tag_legend.asp"
487
- },
488
- "menu": {
489
- "body": "<menu>\n\t${1:text}\n</menu>",
490
- "description": "The menu tag defines a list/menu of commands.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/menu)",
491
- "link": "http://www.w3schools.com/tags/tag_menu.asp"
492
- },
493
- "hgroup": {
494
- "body": "<hgroup>\n\t${1:text}\n</hgroup>",
495
- "description": "The `<hgroup>` HTML element represents a heading and related content. It groups a single `<h1>–<h6>` element with one or more <p>.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/hgroup)",
496
- "link": "http://www.w3schools.com/tags/tag_hgroup.asp"
497
- },
498
- "dir": {
499
- "body": "<dir>\n\t${1:text}\n</dir>",
500
- "description": "The dir tag is not supported in HTML5. Use the ul tag instead.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dir)",
501
- "link": "http://www.w3schools.com/tags/tag_dir.asp",
502
- "deprecated": true
503
- },
504
- "dl": {
505
- "body": "<dl>\n\t${1:text}\n</dl>",
506
- "description": "The dl tag defines a description list.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dl)",
507
- "link": "http://www.w3schools.com/tags/tag_dl.asp"
508
- },
509
- "dialog": {
510
- "body": "<dialog>\n\t${1:text}\n</dialog>",
511
- "description": "The dialog tag defines a dialog box or window.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dialog)",
512
- "link": "http://www.w3schools.com/tags/tag_dialog.asp"
513
- },
514
- "big": {
515
- "body": "<big>${1:text}</big>",
516
- "description": "The big tag is not supported in HTML5. Use CSS instead.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/big)",
517
- "link": "http://www.w3schools.com/tags/tag_big.asp",
518
- "deprecated": true
519
- },
520
- "base": {
521
- "body": "<base>",
522
- "description": "The base tag specifies the base URL/target for all relative URLs in a document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/base)",
523
- "link": "http://www.w3schools.com/tags/tag_base.asp"
524
- },
525
- "article": {
526
- "body": "<article>\n\t${1:text}\n</article>",
527
- "description": "The article tag defines an article in a document.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/article)",
528
- "link": "http://www.w3schools.com/tags/tag_article.asp"
529
- },
530
- "aside": {
531
- "body": "<aside>\n\t${1:text}\n</aside>",
532
- "description": "The aside tag defines some content aside from the content it is placed in.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/aside)",
533
- "link": "http://www.w3schools.com/tags/tag_aside.asp"
534
- },
535
-
536
- "details": {
537
- "body": "<details>\n\t${1:text}\n</details>",
538
- "description": "The details tag specifies additional details that the user can view or hide on demand.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/details)",
539
- "link": "http://www.w3schools.com/tags/tag_details.asp"
540
- },
541
- "dt": {
542
- "body": "<dt>${1:text}</dt>",
543
- "description": "The dt tag defines a term/name in a description list.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dt)",
544
- "link": "http://www.w3schools.com/tags/tag_dt.asp"
545
- },
546
- "dd": {
547
- "body": "<dd>${1:text}</dd>",
548
- "description": "The dd tag defines a description/value of a term in a description list.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dd)",
549
- "link": "http://www.w3schools.com/tags/tag_dd.asp"
550
- },
551
- "rb": {
552
- "body": "<rb>${1:text}</rb>",
553
- "description": "The rb tag defines a ruby annotation.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/rb)",
554
- "link": "http://www.w3schools.com/tags/tag_rb.asp",
555
- "deprecated": true
556
- },
557
-
558
- "progress": {
559
- "body": "<progress>${1:text}</progress>",
560
- "description": "The progress tag represents the progress of a task.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/progress)",
561
- "link": "http://www.w3schools.com/tags/tag_progress.asp"
562
- },
563
- "meter": {
564
- "body": "<meter>${1:text}</meter>",
565
- "description": "The meter tag defines a scalar measurement within a known range.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/meter)",
566
- "link": "http://www.w3schools.com/tags/tag_meter.asp"
567
- },
568
- "output": {
569
- "body": "<output>${1:text}</output>",
570
- "description": "The output tag represents the result of a calculation.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/output)",
571
- "link": "http://www.w3schools.com/tags/tag_output.asp"
572
- },
573
- "video": {
574
- "body": "<video src=\"${1:url}\"></video>",
575
- "description": "The video tag defines a video or movie.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/video)",
576
- "link": "http://www.w3schools.com/tags/tag_video.asp"
577
- },
578
- "audio": {
579
- "body": "<audio src=\"${1:url}\"></audio>",
580
- "description": "The audio tag defines sound content.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/audio)",
581
- "link": "http://www.w3schools.com/tags/tag_audio.asp"
582
- },
583
- "acronym": {
584
- "body": "<acronym>${1:text}</acronym>",
585
- "description": "The acronym tag is not supported in HTML5. Use the abbr tag instead.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/acronym)",
586
- "link": "http://www.w3schools.com/tags/tag_acronym.asp",
587
- "deprecated": true
588
- },
589
- "menuitem": {
590
- "body": "<menuitem>${1:text}</menuitem>",
591
- "description": "This tag is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/menuitem)",
592
- "link": "http://www.w3schools.com/tags/tag_menuitem.asp",
593
- "deprecated": true
594
- },
595
- "strike": {
596
- "body": "<strike>${1:text}</strike>",
597
- "description": "The strike tag is not supported in HTML5. Use the del tag instead.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/strike)",
598
- "link": "http://www.w3schools.com/tags/tag_strike.asp",
599
- "deprecated": true
600
- },
601
- "source": {
602
- "body": "<source src=\"${1:url}\">",
603
- "description": "The source tag defines multiple media resources for media elements, such as video, audio, and picture.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/source)",
604
- "link": "http://www.w3schools.com/tags/tag_source.asp"
605
- },
606
- "track": {
607
- "body": "<track src=\"${1:url}\">",
608
- "description": "The track tag specifies text tracks for media elements, such as video and audio.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/track)",
609
- "link": "http://www.w3schools.com/tags/tag_track.asp"
610
- },
611
- "canvas": {
612
- "body": "<canvas>${1:text}</canvas>",
613
- "description": "The canvas tag defines graphics.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/canvas)",
614
- "link": "http://www.w3schools.com/tags/tag_canvas.asp"
615
- },
616
- "map": {
617
- "body": "<map>\n\t${1:text}\n</map>",
618
- "description": "The map tag defines a client-side image-map.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/map)",
619
- "link": "http://www.w3schools.com/tags/tag_map.asp"
620
- },
621
- "area": {
622
- "body": "<area>",
623
- "description": "The area tag defines an area inside an image-map.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/area)",
624
- "link": "http://www.w3schools.com/tags/tag_area.asp"
625
- },
626
- "object": {
627
- "body": "<object>${1:text}</object>",
628
- "description": "The object tag defines an embedded object.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/object)",
629
- "link": "http://www.w3schools.com/tags/tag_object.asp"
630
- },
631
- "param": {
632
- "body": "<param>",
633
- "description": "The param tag defines a parameter for an object.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/param)",
634
- "link": "http://www.w3schools.com/tags/tag_param.asp"
635
- },
636
- "iframe": {
637
- "body": "<iframe src=\"${1:url}\"></iframe>",
638
- "description": "The iframe tag defines an inline frame.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/iframe)",
639
- "link": "http://www.w3schools.com/tags/tag_iframe.asp"
640
- },
641
- "embed": {
642
- "body": "<embed src=\"${1:url}\">",
643
- "description": "The embed tag defines a container for an external application or interactive content.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/embed)",
644
- "link": "http://www.w3schools.com/tags/tag_embed.asp"
645
- },
646
- "path": {
647
- "body": "<path d=\"${1:url}\">",
648
- "description": "The path tag defines a path.\n[MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/path)",
649
- "link": "http://www.w3schools.com/tags/tag_path.asp"
650
- },
651
-
652
- "circle": {
653
- "body": "<circle cx=\"${1:50}\" cy=\"${2:50}\" r=\"${3:40}\" stroke=\"${4:black}\" stroke-width=\"${5:3}\" fill=\"${6:red}\">",
654
- "description": "The circle tag defines a circle.\n[MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/circle)",
655
- "link": "http://www.w3schools.com/tags/tag_circle.asp"
656
- },
657
- "ellipse": {
658
- "body": "<ellipse cx=\"${1:50}\" cy=\"${2:50}\" rx=\"${3:40}\" ry=\"${4:20}\" stroke=\"${5:black}\" stroke-width=\"${6:3}\" fill=\"${7:red}\">",
659
- "description": "The ellipse tag defines an ellipse.\n[MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/ellipse)",
660
- "link": "http://www.w3schools.com/tags/tag_ellipse.asp"
661
- },
662
- "line": {
663
- "body": "<line x1=\"${1:0}\" y1=\"${2:0}\" x2=\"${3:200}\" y2=\"${4:200}\" stroke=\"${5:black}\" stroke-width=\"${6:3}\">",
664
- "description": "The line tag defines a line.\n[MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/line)",
665
- "link": "http://www.w3schools.com/tags/tag_line.asp"
666
- },
667
- "polyline": {
668
- "body": "<polyline points=\"${1:20,20 40,25 60,40 80,120 120,140 200,180}\" stroke=\"${2:black}\" stroke-width=\"${3:3}\" fill=\"${4:none}\">",
669
- "description": "The polyline tag defines a set of connected straight lines.\n[MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/polyline)",
670
- "link": "http://www.w3schools.com/tags/tag_polyline.asp"
671
- },
672
- "polygon": {
673
- "body": "<polygon points=\"${1:20,20 40,25 60,40}\" stroke=\"${2:black}\" stroke-width=\"${3:3}\" fill=\"${4:none}\">",
674
- "description": "The polygon tag defines a polygon.\n[MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/polygon)",
675
- "link": "http://www.w3schools.com/tags/tag_polygon.asp"
676
- },
677
- "text": {
678
- "body": "<text x=\"${1:0}\" y=\"${2:15}\" fill=\"${3:black}\">${4:text}</text>",
679
- "description": "The text tag defines a text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/text)",
680
- "link": "http://www.w3schools.com/tags/tag_text.asp"
681
- },
682
- "tspan": {
683
- "body": "<tspan x=\"${1:0}\" y=\"${2:15}\" fill=\"${3:black}\">${4:text}</tspan>",
684
- "description": "The tspan tag defines a text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/tspan)",
685
- "link": "http://www.w3schools.com/tags/tag_tspan.asp"
686
- },
687
- "tref": {
688
- "body": "<tref xlink:href=\"${1:url}\">",
689
- "description": "The tref tag defines a text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/tref)",
690
- "link": "http://www.w3schools.com/tags/tag_tref.asp",
691
- "deprecated": "true"
692
- },
693
- "textpath": {
694
- "body": "<textpath xlink:href=\"${1:url}\">",
695
- "description": "The textpath tag defines a text.\n[MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/textpath)",
696
- "link": "http://www.w3schools.com/tags/tag_textpath.asp"
697
- },
698
- "switch": {
699
- "body": "<switch>\n\t${1:text}\n</switch>",
700
- "description": "The switch tag defines a switch.\n[MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/switch)",
701
- "link": "http://www.w3schools.com/tags/tag_switch.asp"
702
- },
703
- "use": {
704
- "body": "<use href=\"${1:url}\">",
705
- "description": "The use tag defines a use.\n[MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/use)",
706
- "link": "http://www.w3schools.com/tags/tag_use.asp"
707
- },
708
- "br": {
709
- "body": "<br>",
710
- "description": "The br tag defines a single line break.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/br)",
711
- "link": "http://www.w3schools.com/tags/tag_br.asp"
712
- },
713
- "hr": {
714
- "body": "<hr>",
715
- "description": "The hr tag defines a thematic break.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/hr)",
716
- "link": "http://www.w3schools.com/tags/tag_hr.asp"
717
- },
718
- "center": {
719
- "body": "<center>${1:text}</center>",
720
- "description": "The center tag is not supported in HTML5. Use CSS instead.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/center)",
721
- "link": "http://www.w3schools.com/tags/tag_center.asp",
722
- "deprecated": "true"
723
- },
724
- "textarea": {
725
- "body": "<textarea>${1:text}</textarea>",
726
- "description": "The textarea tag defines a multi-line text input control.\n[MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/textarea)",
727
- "link": "http://www.w3schools.com/tags/tag_textarea.asp"
728
- }
729
- },
730
- "attributes": {
731
- "accept": {
732
- "body": "accept=\"${1:audio/*,video/*,image/*,MIME_type}\"",
733
- "valid_in": ["input"],
734
- "description": "The `accept` attribute specifies the types of files that the server accepts (that can be submitted through a file upload).\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept)",
735
- "link": "http://www.w3schools.com/tags/att_input_accept.asp"
736
- },
737
- "autocomplete": {
738
- "body": "autocomplete=\"${1:on,off}\"",
739
- "valid_in": ["form", "input"],
740
- "description": "The `autocomplete` attribute specifies whether a form or input field should have autocomplete on or off.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
741
- "link": "http://www.w3schools.com/tags/att_input_autocomplete.asp"
742
- },
743
- "capture": {
744
- "body": "capture=\"${1:camera,camcorder,microphone}\"",
745
- "valid_in": ["input"],
746
- "description": "The `capture` attribute specifies that a picture or file upload is to be taken immediately.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture)"
747
- },
748
- "crossorigin": {
749
- "body": "crossorigin=\"${1:anonymous,use-credentials}\"",
750
- "valid_in": ["audio", "img", "link", "script", "video"],
751
- "description": "The `crossorigin` attribute specifies how the element handles cross-origin requests.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin)",
752
- "link": "http://www.w3schools.com/tags/att_link_crossorigin.asp"
753
- },
754
- "dirname": {
755
- "body": "dirname=\"${1:dir_name}\"",
756
- "valid_in": ["input", "textarea"],
757
- "description": "The `dirname` attribute specifies that the text direction will be submitted.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/dirname)"
758
- },
759
- "disabled": {
760
- "body": "disabled",
761
- "valid_in": [
762
- "button",
763
- "fieldset",
764
- "input",
765
- "keygen",
766
- "optgroup",
767
- "option",
768
- "select",
769
- "textarea"
770
- ],
771
- "description": "The `disabled` attribute specifies that the specified element/group of elements should be disabled.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)",
772
- "link": "http://www.w3schools.com/tags/att_input_disabled.asp"
773
- },
774
- "elementtiming": {
775
- "body": "elementtiming=\"${1:element_name}\"",
776
- "valid_in": ["*"],
777
- "description": "The `elementtiming` attribute is used to indicate that an element is flagged for tracking by PerformanceObserver objects using the element type. For more details, see the PerformanceElementTiming interface.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/elementtiming)"
778
- },
779
- "for": {
780
- "body": "for=\"${1:id}\"",
781
- "valid_in": ["label", "output"],
782
- "description": "The `for` attribute specifies which form element a label is bound to.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/for)",
783
- "link": "http://www.w3schools.com/tags/att_label_for.asp"
784
- },
785
- "max": {
786
- "body": "max=\"${1:date,number}\"",
787
- "valid_in": ["input", "meter", "progress"],
788
- "description": "The `max` attribute specifies the maximum value.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max)",
789
- "link": "http://www.w3schools.com/tags/att_input_max.asp"
790
- },
791
- "min": {
792
- "body": "min=\"${1|date,number|}\"",
793
- "valid_in": ["input", "meter"],
794
- "description": "The `min` attribute specifies the minimum value.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min)",
795
- "link": "http://www.w3schools.com/tags/att_input_min.asp"
796
- },
797
- "minlength": {
798
- "body": "minlength=\"${1:number}\"",
799
- "valid_in": ["input", "textarea"],
800
- "description": "The `minlength` attribute specifies the minimum number of characters required in a text field.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength)",
801
- "link": "http://www.w3schools.com/tags/att_input_minlength.asp"
802
- },
803
- "multiple": {
804
- "body": "multiple",
805
- "valid_in": ["input", "select"],
806
- "description": "The `multiple` attribute specifies that multiple values can be selected.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/multiple)",
807
- "link": "http://www.w3schools.com/tags/att_select_multiple.asp"
808
- },
809
-
810
- "accept-charset": {
811
- "body": "accept-charset=\"${1:character_set}\"",
812
- "valid_in": ["form"],
813
- "description": "The `accept-charset` attribute specifies the character encodings that are to be used for the form submission.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept-charset)",
814
- "link": "http://www.w3schools.com/tags/att_form_accept-charset.asp"
815
- },
816
- "align": {
817
- "body": "align=\"${1|top,middle,bottom,left,right|}\"",
818
- "valid_in": ["*"],
819
- "deprecated": true,
820
- "description": "The `align` attribute specifies the alignment of an element according to surrounding elements. This is not supported in html5 please use the float or align in css!\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/align)"
821
- },
822
- "alt": {
823
- "body": "alt=\"${1:text}\"",
824
- "valid_in": ["area", "img", "input"],
825
- "description": "The `alt` attribute specifies an alternate text for an image, when the image cannot be displayed.",
826
- "link": "http://www.w3schools.com/tags/att_area_alt.asp"
827
- },
828
- "async": {
829
- "body": "async",
830
- "valid_in": ["script"],
831
- "description": "The `async` attribute is a boolean attribute indicating that the browser should, if possible, execute the script asynchronously.\n",
832
- "link": "http://www.w3schools.com/tags/att_script_async.asp"
833
- },
834
- "autocapitalize": {
835
- "body": "autocapitalize=\"${1|on,off|}\"",
836
- "valid_in": ["*"],
837
- "description": "The `autocapitalize` attribute is an enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocapitalize)"
838
- },
839
- "autofocus": {
840
- "body": "autofocus",
841
- "valid_in": ["button", "input", "keygen", "select", "textarea"],
842
- "description": "The `autofocus` attribute is a boolean attribute. When present, it specifies that the element should automatically get focus when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autofocus)",
843
- "link": "http://www.w3schools.com/tags/att_input_autofocus.asp"
844
- },
845
- "bgcolor": {
846
- "body": "bgcolor=\"${1:color}\"",
847
- "valid_in": [
848
- "body",
849
- "col",
850
- "colgroup",
851
- "marquee",
852
- "table",
853
- "tbody",
854
- "tfoot",
855
- "td",
856
- "th",
857
- "tr"
858
- ],
859
- "deprecated": true,
860
- "description": "Background color for the document. This method is non-conforming, use CSS `background-color` property on the element instead"
861
- },
862
- "border": {
863
- "body": "border=\"${1:number}\"",
864
- "valid_in": ["img", "object", "table"],
865
- "deprecated": true,
866
- "description": "The `border` attribute specifies the width of the border around an element. This method is non-conforming, use CSS `border` property on the element instead"
867
- },
868
- "charset": {
869
- "body": "charset=\"${1:character_set}\"",
870
- "valid_in": ["meta", "script"],
871
- "description": "The `charset` attribute specifies the character encoding for the HTML document",
872
- "link": "http://www.w3schools.com/tags/att_meta_charset.asp"
873
- },
874
- "checked": {
875
- "body": "checked",
876
- "valid_in": ["input"],
877
- "description": "The `checked` attribute specifies that an input element should be pre-selected when the page loads (for type=\"checkbox\" or type=\"radio\").",
878
- "link": "http://www.w3schools.com/tags/att_input_checked.asp"
879
- },
880
-
881
- "autoplay": {
882
- "body": "autoplay",
883
- "valid_in": ["audio", "video"],
884
- "description": "The `autoplay` attribute is a boolean attribute. If specified, the audio/video will automatically begin to play back as soon as it can do so without stopping to finish loading the data.",
885
- "link": "http://www.w3schools.com/tags/att_video_autoplay.asp"
886
- },
887
- "cite": {
888
- "body": "cite=\"${1:url}\"",
889
- "valid_in": ["blockquote", "del", "ins", "q"],
890
- "description": "The `cite` attribute specifies a URL to a document that explains the quote/deleted/inserted text.",
891
- "link": "http://www.w3schools.com/tags/att_blockquote_cite.asp"
892
- },
893
- "class": {
894
- "body": "className=\"${1:class_name}\"",
895
- "valid_in": ["*"],
896
- "description": "The `className` attribute specifies one or more classnames for an element (refers to a class in a style sheet). \n Vader uses this attribute for camel casing and validation of classes to ensure you meet standards!",
897
- "link": "http://www.w3schools.com/tags/att_global_class.asp"
898
- },
899
- "color": {
900
- "body": "color=\"${1:color}\"",
901
- "valid_in": ["*"],
902
- "deprecated": true,
903
- "description": "The `color` attribute specifies the text color of an element. This method is non-conforming, use CSS `color` property on the element instead"
904
- },
905
- "cols": {
906
- "body": "cols=\"${1:number}\"",
907
- "valid_in": ["textarea"],
908
- "description": "The `cols` attribute specifies the visible width of a text area.",
909
- "link": "http://www.w3schools.com/tags/att_textarea_cols.asp"
910
- },
911
- "colspan": {
912
- "body": "colspan=\"${1:number}\"",
913
- "valid_in": ["td", "th"],
914
- "description": "The `colspan` attribute defines the number of columns a cell should span.",
915
- "link": "http://www.w3schools.com/tags/att_td_colspan.asp"
916
- },
917
- "content": {
918
- "body": "content=\"${1:text}\"",
919
- "valid_in": ["meta"],
920
- "description": "The `content` attribute gives the value associated with the http-equiv or name attribute.",
921
- "link": "http://www.w3schools.com/tags/att_meta_content.asp"
922
- },
923
- "contenteditable": {
924
- "body": "contenteditable=\"${1|true,false|}\"",
925
- "valid_in": ["*"],
926
- "description": "The `contenteditable` attribute is an enumerated attribute indicating if the element should be editable by the user.",
927
- "link": "http://www.w3schools.com/tags/att_global_contenteditable.asp"
928
- },
929
- "controls": {
930
- "body": "controls",
931
- "valid_in": ["audio", "video"],
932
- "description": "The `controls` attribute is a boolean attribute. If specified, the browser will display controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback.",
933
- "link": "http://www.w3schools.com/tags/att_audio_controls.asp"
934
- },
935
- "coords": {
936
- "body": "coords=\"${1:coordinates}\"",
937
- "valid_in": ["area"],
938
- "description": "The `coords` attribute specifies the coordinates of the area.",
939
- "link": "http://www.w3schools.com/tags/att_area_coords.asp"
940
- },
941
- "data": {
942
- "body": "data=\"${1:url}\"",
943
- "valid_in": ["object"],
944
- "description": "The `data` attribute specifies the URL of the resource to be used by the object.",
945
- "link": "http://www.w3schools.com/tags/att_object_data.asp"
946
- },
947
- "data-": {
948
- "body": "data-${1:custom_name}=\"${2:value}\"",
949
- "valid_in": ["*"],
950
- "description": "The `data-*` attribute is used to store custom data private to the page or application.",
951
- "link": "http://www.w3schools.com/tags/att_global_data.asp"
952
- },
953
- "datetime": {
954
- "body": "datetime=\"${1:date_time}\"",
955
- "valid_in": ["del", "ins", "time"],
956
- "description": "The `datetime` attribute specifies the date and time.",
957
- "link": "http://www.w3schools.com/tags/att_time_datetime.asp"
958
- },
959
- "default": {
960
- "body": "default",
961
- "valid_in": ["track"],
962
- "description": "The `default` attribute is a boolean attribute. If specified, the track is to be enabled if the user's preferences do not indicate that another track would be more appropriate.",
963
- "link": "http://www.w3schools.com/tags/att_track_default.asp"
964
- },
965
- "defer": {
966
- "body": "defer",
967
- "valid_in": ["script"],
968
- "description": "The `defer` attribute is a boolean attribute. If present, it specifies that the script is executed when the page has finished parsing.",
969
- "link": "http://www.w3schools.com/tags/att_script_defer.asp"
970
- },
971
- "dir": {
972
- "body": "dir=\"${1|ltr,rtl,auto|}\"",
973
- "valid_in": ["*"],
974
- "description": "The `dir` attribute specifies the text direction for the content in an element.",
975
- "link": "http://www.w3schools.com/tags/att_global_dir.asp"
976
- },
977
- "download": {
978
- "body": "download=\"${1:file_name}\"",
979
- "valid_in": ["a", "area"],
980
- "description": "The `download` attribute specifies that the target will be downloaded when a user clicks on the hyperlink.",
981
- "link": "http://www.w3schools.com/tags/att_a_download.asp"
982
- },
983
- "draggable": {
984
- "body": "draggable=\"${1|true,false|}\"",
985
- "valid_in": ["*"],
986
- "description": "The `draggable` attribute is an enumerated attribute that indicates whether the element can be dragged, either with native browser behavior or the HTML Drag and Drop API.",
987
- "link": "http://www.w3schools.com/tags/att_global_draggable.asp"
988
- },
989
- "enctype": {
990
- "body": "enctype=\"${1|application/x-www-form-urlencoded,multipart/form-data,text/plain|}\"",
991
- "valid_in": ["form"],
992
- "description": "The `enctype` attribute specifies how the form-data should be encoded when submitting it to the server.",
993
- "link": "http://www.w3schools.com/tags/att_form_enctype.asp"
994
- },
995
- "form": {
996
- "body": "form=\"${1:id}\"",
997
- "valid_in": [
998
- "button",
999
- "fieldset",
1000
- "input",
1001
- "keygen",
1002
- "label",
1003
- "meter",
1004
- "object",
1005
- "output",
1006
- "progress",
1007
- "select",
1008
- "textarea"
1009
- ],
1010
- "description": "The `form` attribute specifies one or more forms the element belongs to.",
1011
- "link": "http://www.w3schools.com/tags/att_input_form.asp"
1012
- },
1013
- "formaction": {
1014
- "body": "formaction=\"${1:url}\"",
1015
- "valid_in": ["button", "input"],
1016
- "description": "The `formaction` attribute specifies where to send the form-data when a form is submitted. This attribute overrides the `action` attribute of the `form` element.",
1017
- "link": "http://www.w3schools.com/tags/att_button_formaction.asp"
1018
- },
1019
- "headers": {
1020
- "body": "headers=\"${1:id}\"",
1021
- "valid_in": ["td", "th"],
1022
- "description": "The `headers` attribute specifies one or more header cells a cell is related to.",
1023
- "link": "http://www.w3schools.com/tags/att_td_headers.asp"
1024
- },
1025
-
1026
- "height": {
1027
- "body": "height=\"${1:number}\"",
1028
- "valid_in": [
1029
- "canvas",
1030
- "embed",
1031
- "iframe",
1032
- "img",
1033
- "input",
1034
- "object",
1035
- "video"
1036
- ],
1037
- "description": "The `height` attribute specifies the height of the element.",
1038
- "link": "http://www.w3schools.com/tags/att_iframe_height.asp"
1039
- },
1040
- "hidden": {
1041
- "body": "hidden",
1042
- "valid_in": ["*"],
1043
- "description": "The `hidden` attribute is a boolean attribute. When specified on an element, it indicates that the element is not yet, or is no longer, relevant.",
1044
- "link": "http://www.w3schools.com/tags/att_global_hidden.asp"
1045
- },
1046
- "high": {
1047
- "body": "high=\"${1:number}\"",
1048
- "valid_in": ["meter"],
1049
- "description": "The `high` attribute specifies the range that is considered to be a high value.",
1050
- "link": "http://www.w3schools.com/tags/att_meter_high.asp"
1051
- },
1052
- "href": {
1053
- "body": "href=\"${1:url}\"",
1054
- "valid_in": ["a", "area", "base", "link"],
1055
- "description": "The `href` attribute specifies the URL of the page the link goes to. \n In vader.js href urls are relative for routing - but can also be absolute for external links.\n to turn off use \n`<!-- #vader_disable_relative-paths -->`",
1056
- "link": "http://www.w3schools.com/tags/att_a_href.asp"
1057
- },
1058
- "hreflang": {
1059
- "body": "hreflang=\"${1:language_code}\"",
1060
- "valid_in": ["a", "area", "link"],
1061
- "description": "The `hreflang` attribute specifies the language of the linked document.",
1062
- "link": "http://www.w3schools.com/tags/att_a_hreflang.asp"
1063
- },
1064
- "http-equiv": {
1065
- "body": "http-equiv=\"${1:content-type,default-style,refresh}\"",
1066
- "valid_in": ["meta"],
1067
- "description": "The `http-equiv` attribute provides an HTTP header for the information/value of the content attribute.",
1068
- "link": "http://www.w3schools.com/tags/att_meta_http_equiv.asp"
1069
- },
1070
- "id": {
1071
- "body": "id=\"${1:id_name}\"",
1072
- "valid_in": ["*"],
1073
- "description": "The `id` attribute specifies a unique id for an HTML element (the value must be unique within the HTML document).",
1074
- "link": "http://www.w3schools.com/tags/att_global_id.asp"
1075
- },
1076
- "ismap": {
1077
- "body": "ismap",
1078
- "valid_in": ["img"],
1079
- "description": "The `ismap` attribute is a boolean attribute. It specifies that an image-map should be used (if it is true).",
1080
- "link": "http://www.w3schools.com/tags/att_img_ismap.asp"
1081
- },
1082
- "kind": {
1083
- "body": "kind=\"${1|subtitles,captions,descriptions,chapters,metadata|}\"",
1084
- "valid_in": ["track"],
1085
- "description": "The `kind` attribute specifies the kind of text track.",
1086
- "link": "http://www.w3schools.com/tags/att_track_kind.asp"
1087
- },
1088
- "label": {
1089
- "body": "label=\"${1:text}\"",
1090
- "valid_in": ["track"],
1091
- "description": "The `label` attribute specifies the title of the text track.",
1092
- "link": "http://www.w3schools.com/tags/att_track_label.asp"
1093
- },
1094
- "lang": {
1095
- "body": "lang=\"${1:language_code}\"",
1096
- "valid_in": ["*"],
1097
- "description": "The `lang` attribute specifies the language of the element's content.",
1098
- "link": "http://www.w3schools.com/tags/att_global_lang.asp"
1099
- },
1100
- "list": {
1101
- "body": "list=\"${1:id}\"",
1102
- "valid_in": ["input"],
1103
- "description": "The `list` attribute refers to a <datalist> element that contains pre-defined options for an <input> element.",
1104
- "link": "http://www.w3schools.com/tags/att_input_list.asp"
1105
- },
1106
- "loop": {
1107
- "body": "loop",
1108
- "valid_in": ["audio", "bgsound", "marquee", "video"],
1109
- "description": "The `loop` attribute is a boolean attribute. If present, it specifies that the audio/video will start over again, every time it is finished.",
1110
- "link": "http://www.w3schools.com/tags/att_audio_loop.asp"
1111
- },
1112
- "low": {
1113
- "body": "low=\"${1:number}\"",
1114
- "valid_in": ["meter"],
1115
- "description": "The `low` attribute specifies the range that is considered to be a low value.",
1116
- "link": "http://www.w3schools.com/tags/att_meter_low.asp"
1117
- },
1118
- "maxlength": {
1119
- "body": "maxlength=\"${1:number}\"",
1120
- "valid_in": ["input", "textarea"],
1121
- "description": "The `maxlength` attribute specifies the maximum number of characters allowed in an element.",
1122
- "link": "http://www.w3schools.com/tags/att_input_maxlength.asp"
1123
- },
1124
- "media": {
1125
- "body": "media=\"${1:media_query}\"",
1126
- "valid_in": ["a", "area", "link", "source", "style"],
1127
- "description": "The `media` attribute specifies what media/device the linked document is optimized for.",
1128
- "link": "http://www.w3schools.com/tags/att_a_media.asp"
1129
- },
1130
- "method": {
1131
- "body": "method=\"${1|get,post|}\"",
1132
- "valid_in": ["form"],
1133
- "description": "The `method` attribute specifies the HTTP method (GET or POST) to be used when submitting the form data.",
1134
- "link": "http://www.w3schools.com/tags/att_form_method.asp"
1135
- },
1136
- "muted": {
1137
- "body": "muted",
1138
- "valid_in": ["audio", "video"],
1139
- "description": "The `muted` attribute is a boolean attribute. If present, it specifies that the audio output of the video should be muted.",
1140
- "link": "http://www.w3schools.com/tags/att_video_muted.asp"
1141
- },
1142
- "name": {
1143
- "body": "name=\"${1:name}\"",
1144
- "valid_in": [
1145
- "button",
1146
- "form",
1147
- "fieldset",
1148
- "iframe",
1149
- "input",
1150
- "keygen",
1151
- "object",
1152
- "output",
1153
- "select",
1154
- "textarea",
1155
- "map",
1156
- "meta",
1157
- "param"
1158
- ],
1159
- "description": "The `name` attribute specifies the name of an element.",
1160
- "link": "http://www.w3schools.com/tags/att_input_name.asp"
1161
- },
1162
- "novalidate": {
1163
- "body": "novalidate",
1164
- "valid_in": ["form"],
1165
- "description": "The `novalidate` attribute is a boolean attribute. When present, it specifies that the form-data (input) should not be validated when submitted.",
1166
- "link": "http://www.w3schools.com/tags/att_form_novalidate.asp"
1167
- },
1168
- "onabort": {
1169
- "body": "onabort=\"${1:script}\"",
1170
- "valid_in": ["audio", "embed", "img", "object", "video"],
1171
- "description": "The `onabort` attribute fires when the loading of an audio/video is aborted.",
1172
- "link": "http://www.w3schools.com/tags/ev_onabort.asp"
1173
- },
1174
- "onafterprint": {
1175
- "body": "onafterprint=\"${1:script}\"",
1176
- "valid_in": ["body"],
1177
- "description": "The `onafterprint` attribute fires when a page has started printing, or if the print dialogue box has been closed.",
1178
- "link": "http://www.w3schools.com/tags/ev_onafterprint.asp"
1179
- },
1180
- "onbeforeprint": {
1181
- "body": "onbeforeprint=\"${1:script}\"",
1182
- "valid_in": ["body"],
1183
- "description": "The `onbeforeprint` attribute fires when a page is about to be printed (before the print dialogue box appears).",
1184
- "link": "http://www.w3schools.com/tags/ev_onbeforeprint.asp"
1185
- },
1186
- "onbeforeunload": {
1187
- "body": "onbeforeunload=\"${1:script}\"",
1188
- "valid_in": ["body"],
1189
- "description": "The `onbeforeunload` attribute fires when the document is about to be unloaded.",
1190
- "link": "http://www.w3schools.com/tags/ev_onbeforeunload.asp"
1191
- },
1192
- "onblur": {
1193
- "body": "onblur=\"${1:script}\"",
1194
- "valid_in": ["*"],
1195
- "description": "The `onblur` attribute fires the moment that the element loses focus.",
1196
- "link": "http://www.w3schools.com/tags/ev_onblur.asp"
1197
- },
1198
- "oncanplay": {
1199
- "body": "oncanplay=\"${1:script}\"",
1200
- "valid_in": ["audio", "embed", "object", "video"],
1201
- "description": "The `oncanplay` attribute fires when the browser can start playing the audio/video.",
1202
- "link": "http://www.w3schools.com/tags/ev_oncanplay.asp"
1203
- },
1204
- "oncanplaythrough": {
1205
- "body": "oncanplaythrough=\"${1:script}\"",
1206
- "valid_in": ["audio", "video"],
1207
- "description": "The `oncanplaythrough` attribute fires when the browser can play through the audio/video without stopping for buffering.",
1208
- "link": "http://www.w3schools.com/tags/ev_oncanplaythrough.asp"
1209
- },
1210
- "onchange": {
1211
- "body": "onchange=\"${1:script}\"",
1212
- "valid_in": ["input", "select", "textarea"],
1213
- "description": "The `onchange` attribute fires the moment when the value of the element is changed.",
1214
- "link": "http://www.w3schools.com/tags/ev_onchange.asp"
1215
- },
1216
- "onclick": {
1217
- "body": "onclick=\"${1:script}\"",
1218
- "valid_in": ["*"],
1219
- "description": "The `onclick` attribute fires on a mouse click on the element.",
1220
- "link": "http://www.w3schools.com/tags/ev_onclick.asp"
1221
- },
1222
- "oncontextmenu": {
1223
- "body": "oncontextmenu=\"${1:script}\"",
1224
- "valid_in": ["*"],
1225
- "description": "The `oncontextmenu` attribute fires when the right mouse button is clicked on the element.",
1226
- "link": "http://www.w3schools.com/tags/ev_oncontextmenu.asp"
1227
- },
1228
- "oncopy": {
1229
- "body": "oncopy=\"${1:script}\"",
1230
- "valid_in": ["*"],
1231
- "description": "The `oncopy` attribute fires when the user copies the content of an element.",
1232
- "link": "http://www.w3schools.com/tags/ev_oncopy.asp"
1233
- },
1234
- "oncuechange": {
1235
- "body": "oncuechange=\"${1:script}\"",
1236
- "valid_in": ["track"],
1237
- "description": "The `oncuechange` attribute fires when a <track> cue changes.",
1238
- "link": "http://www.w3schools.com/tags/ev_oncuechange.asp"
1239
- },
1240
- "oncut": {
1241
- "body": "oncut=\"${1:script}\"",
1242
- "valid_in": ["*"],
1243
- "description": "The `oncut` attribute fires when the user cuts the content of an element.",
1244
- "link": "http://www.w3schools.com/tags/ev_oncut.asp"
1245
- },
1246
- "ondblclick": {
1247
- "body": "ondblclick=\"${1:script}\"",
1248
- "valid_in": ["*"],
1249
- "description": "The `ondblclick` attribute fires on a mouse double-click on the element.",
1250
- "link": "http://www.w3schools.com/tags/ev_ondblclick.asp"
1251
- },
1252
- "ondrag": {
1253
- "body": "ondrag=\"${1:script}\"",
1254
- "valid_in": ["*"],
1255
- "description": "The `ondrag` attribute fires when an element or text selection is being dragged.",
1256
- "link": "http://www.w3schools.com/tags/ev_ondrag.asp"
1257
- },
1258
- "ondragend": {
1259
- "body": "ondragend=\"${1:script}\"",
1260
- "valid_in": ["*"],
1261
- "description": "The `ondragend` attribute fires when the user has finished dragging an element or text selection.",
1262
- "link": "http://www.w3schools.com/tags/ev_ondragend.asp"
1263
- },
1264
- "ondragcenter": {
1265
- "body": "ondragcenter=\"${1:script}\"",
1266
- "valid_in": ["*"],
1267
- "description": "The `ondragcenter` attribute fires when the draggable element or text selection enters a valid drop target.",
1268
- "link": "http://www.w3schools.com/tags/ev_ondragcenter.asp"
1269
- },
1270
- "ondragleave": {
1271
- "body": "ondragleave=\"${1:script}\"",
1272
- "valid_in": ["*"],
1273
- "description": "The `ondragleave` attribute fires when the draggable element or text selection leaves a valid drop target.",
1274
- "link": "http://www.w3schools.com/tags/ev_ondragleave.asp"
1275
- },
1276
- "ondragenter": {
1277
- "body": "ondragenter=\"${1:script}\"",
1278
- "valid_in": ["*"],
1279
- "description": "The `ondragenter` attribute fires when the draggable element or text selection enters a valid drop target.",
1280
- "link": "http://www.w3schools.com/tags/ev_ondragenter.asp"
1281
- },
1282
- "ondragstart": {
1283
- "body": "ondragstart=\"${1:script}\"",
1284
- "valid_in": ["*"],
1285
- "description": "The `ondragstart` attribute fires when the user starts to drag an element or text selection.",
1286
- "link": "http://www.w3schools.com/tags/ev_ondragstart.asp"
1287
- },
1288
- "ondrop": {
1289
- "body": "ondrop=\"${1:script}\"",
1290
- "valid_in": ["*"],
1291
- "description": "The `ondrop` attribute fires when the dragged element or text selection is dropped on a valid drop target.",
1292
- "link": "http://www.w3schools.com/tags/ev_ondrop.asp"
1293
- },
1294
- "ondurationchange": {
1295
- "body": "ondurationchange=\"${1:script}\"",
1296
- "valid_in": ["audio", "video"],
1297
- "description": "The `ondurationchange` attribute fires when the duration of the audio/video is changed.",
1298
- "link": "http://www.w3schools.com/tags/ev_ondurationchange.asp"
1299
- },
1300
- "onemptied": {
1301
- "body": "onemptied=\"${1:script}\"",
1302
- "valid_in": ["audio", "video"],
1303
- "description": "The `onemptied` attribute fires when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects).",
1304
- "link": "http://www.w3schools.com/tags/ev_onemptied.asp"
1305
- },
1306
- "onended": {
1307
- "body": "onended=\"${1:script}\"",
1308
- "valid_in": ["audio", "video"],
1309
- "description": "The `onended` attribute fires when the audio/video has reached the end.",
1310
- "link": "http://www.w3schools.com/tags/ev_onended.asp"
1311
- },
1312
- "onerror": {
1313
- "body": "onerror=\"${1:script}\"",
1314
- "valid_in": [
1315
- "audio",
1316
- "body",
1317
- "embed",
1318
- "img",
1319
- "object",
1320
- "script",
1321
- "style",
1322
- "video"
1323
- ],
1324
- "description": "The `onerror` attribute fires when an error occurs while loading an external file.",
1325
- "link": "http://www.w3schools.com/tags/ev_onerror.asp"
1326
- },
1327
- "onfocus": {
1328
- "body": "onfocus=\"${1:script}\"",
1329
- "valid_in": ["*"],
1330
- "description": "The `onfocus` attribute fires the moment that the element gets focus.",
1331
- "link": "http://www.w3schools.com/tags/ev_onfocus.asp"
1332
- },
1333
- "onhashchange": {
1334
- "body": "onhashchange=\"${1:script}\"",
1335
- "valid_in": ["body"],
1336
- "description": "The `onhashchange` attribute fires when there has been changes to the anchor part of the a URL.",
1337
- "link": "http://www.w3schools.com/tags/ev_onhashchange.asp"
1338
- },
1339
- "oninput": {
1340
- "body": "oninput=\"${1:script}\"",
1341
- "valid_in": ["input", "select", "textarea"],
1342
- "description": "The `oninput` attribute fires when an element gets user input.",
1343
- "link": "http://www.w3schools.com/tags/ev_oninput.asp"
1344
- },
1345
- "oninvalid": {
1346
- "body": "oninvalid=\"${1:script}\"",
1347
- "valid_in": ["input", "form"],
1348
- "description": "The `oninvalid` attribute fires when a submittable element has been checked and doesn't satisfy its constraints.",
1349
- "link": "http://www.w3schools.com/tags/ev_oninvalid.asp"
1350
- },
1351
- "onkeydown": {
1352
- "body": "onkeydown=\"${1:script}\"",
1353
- "valid_in": ["input", "select", "textarea"],
1354
- "description": "The `onkeydown` attribute fires when the user is pressing a key (on the keyboard).",
1355
- "link": "http://www.w3schools.com/tags/ev_onkeydown.asp"
1356
- },
1357
- "onkeypress": {
1358
- "body": "onkeypress=\"${1:script}\"",
1359
- "valid_in": ["input", "select", "textarea"],
1360
- "description": "The `onkeypress` attribute fires when the user presses a key (on the keyboard).",
1361
- "link": "http://www.w3schools.com/tags/ev_onkeypress.asp"
1362
- },
1363
- "onkeyup": {
1364
- "body": "onkeyup=\"${1:script}\"",
1365
- "valid_in": ["input", "select", "textarea"],
1366
- "description": "The `onkeyup` attribute fires when the user releases a key (on the keyboard).",
1367
- "link": "http://www.w3schools.com/tags/ev_onkeyup.asp"
1368
- },
1369
- "onload": {
1370
- "body": "onload=\"${1:script}\"",
1371
- "valid_in": [
1372
- "audio",
1373
- "body",
1374
- "embed",
1375
- "iframe",
1376
- "img",
1377
- "input",
1378
- "link",
1379
- "object",
1380
- "script",
1381
- "style",
1382
- "video"
1383
- ],
1384
- "description": "The `onload` attribute fires when an object has been loaded.",
1385
- "link": "http://www.w3schools.com/tags/ev_onload.asp"
1386
- },
1387
- "onloadeddata": {
1388
- "body": "onloadeddata=\"${1:script}\"",
1389
- "valid_in": ["audio", "video"],
1390
- "description": "The `onloadeddata` attribute fires when media data is loaded.",
1391
- "link": "http://www.w3schools.com/tags/ev_onloadeddata.asp"
1392
- },
1393
- "onloadedmetadata": {
1394
- "body": "onloadedmetadata=\"${1:script}\"",
1395
- "valid_in": ["audio", "video"],
1396
- "description": "The `onloadedmetadata` attribute fires when meta data (like dimensions and duration) are loaded.",
1397
- "link": "http://www.w3schools.com/tags/ev_onloadedmetadata.asp"
1398
- },
1399
- "onloadstart": {
1400
- "body": "onloadstart=\"${1:script}\"",
1401
- "valid_in": ["audio", "video"],
1402
- "description": "The `onloadstart` attribute fires when the browser starts looking for the specified media.",
1403
- "link": "http://www.w3schools.com/tags/ev_onloadstart.asp"
1404
- },
1405
- "onmousedown": {
1406
- "body": "onmousedown=\"${1:script}\"",
1407
- "valid_in": ["*"],
1408
- "description": "The `onmousedown` attribute fires the moment the user presses the mouse button.",
1409
- "link": "http://www.w3schools.com/tags/ev_onmousedown.asp"
1410
- },
1411
- "onmousemove": {
1412
- "body": "onmousemove=\"${1:script}\"",
1413
- "valid_in": ["*"],
1414
- "description": "The `onmousemove` attribute fires when the mouse pointer moves.",
1415
- "link": "http://www.w3schools.com/tags/ev_onmousemove.asp"
1416
- },
1417
- "onmouseout": {
1418
- "body": "onmouseout=\"${1:script}\"",
1419
- "valid_in": ["*"],
1420
- "description": "The `onmouseout` attribute fires when the mouse pointer moves out of an element.",
1421
- "link": "http://www.w3schools.com/tags/ev_onmouseout.asp"
1422
- },
1423
- "onmouseover": {
1424
- "body": "onmouseover=\"${1:script}\"",
1425
- "valid_in": ["*"],
1426
- "description": "The `onmouseover` attribute fires when the mouse pointer moves over an element.",
1427
- "link": "http://www.w3schools.com/tags/ev_onmouseover.asp"
1428
- },
1429
- "onmouseup": {
1430
- "body": "onmouseup=\"${1:script}\"",
1431
- "valid_in": ["*"],
1432
- "description": "The `onmouseup` attribute fires the moment the user releases the mouse button.",
1433
- "link": "http://www.w3schools.com/tags/ev_onmouseup.asp"
1434
- },
1435
- "onmousewheel": {
1436
- "body": "onmousewheel=\"${1:script}\"",
1437
- "valid_in": ["*"],
1438
- "description": "The `onmousewheel` attribute fires when the mouse wheel rolls up or down over an element.",
1439
- "link": "http://www.w3schools.com/tags/ev_onmousewheel.asp"
1440
- },
1441
- "onoffline": {
1442
- "body": "onoffline=\"${1:script}\"",
1443
- "valid_in": ["body"],
1444
- "description": "The `onoffline` attribute fires when the browser starts to work offline.",
1445
- "link": "http://www.w3schools.com/tags/ev_onoffline.asp"
1446
- },
1447
- "ononline": {
1448
- "body": "ononline=\"${1:script}\"",
1449
- "valid_in": ["body"],
1450
- "description": "The `ononline` attribute fires when the browser starts to work online.",
1451
- "link": "http://www.w3schools.com/tags/ev_ononline.asp"
1452
- },
1453
- "onpagehide": {
1454
- "body": "onpagehide=\"${1:script}\"",
1455
- "valid_in": ["body"],
1456
- "description": "The `onpagehide` attribute fires when the user navigates away from a webpage.",
1457
- "link": "http://www.w3schools.com/tags/ev_onpagehide.asp"
1458
- },
1459
- "onpageshow": {
1460
- "body": "onpageshow=\"${1:script}\"",
1461
- "valid_in": ["body"],
1462
- "description": "The `onpageshow` attribute fires when the user navigates to a webpage.",
1463
- "link": "http://www.w3schools.com/tags/ev_onpageshow.asp"
1464
- },
1465
- "onpaste": {
1466
- "body": "onpaste=\"${1:script}\"",
1467
- "valid_in": ["*"],
1468
- "description": "The `onpaste` attribute fires when the user pastes some content in an element.",
1469
- "link": "http://www.w3schools.com/tags/ev_onpaste.asp"
1470
- },
1471
- "onpause": {
1472
- "body": "onpause=\"${1:script}\"",
1473
- "valid_in": ["audio", "video"],
1474
- "description": "The `onpause` attribute fires when the audio/video has been paused.",
1475
- "link": "http://www.w3schools.com/tags/ev_onpause.asp"
1476
- },
1477
- "onplay": {
1478
- "body": "onplay=\"${1:script}\"",
1479
- "valid_in": ["audio", "video"],
1480
- "description": "The `onplay` attribute fires when the audio/video has been started or is no longer paused.",
1481
- "link": "http://www.w3schools.com/tags/ev_onplay.asp"
1482
- },
1483
- "onplaying": {
1484
- "body": "onplaying=\"${1:script}\"",
1485
- "valid_in": ["audio", "video"],
1486
- "description": "The `onplaying` attribute fires when the audio/video has started playing.",
1487
- "link": "http://www.w3schools.com/tags/ev_onplaying.asp"
1488
- },
1489
- "onpopstate": {
1490
- "body": "onpopstate=\"${1:script}\"",
1491
- "valid_in": ["body"],
1492
- "description": "The `onpopstate` attribute fires when the window's history changes.",
1493
- "link": "http://www.w3schools.com/tags/ev_onpopstate.asp"
1494
- },
1495
- "onprogress": {
1496
- "body": "onprogress=\"${1:script}\"",
1497
- "valid_in": ["audio", "video"],
1498
- "description": "The `onprogress` attribute fires when the browser is downloading the audio/video.",
1499
- "link": "http://www.w3schools.com/tags/ev_onprogress.asp"
1500
- },
1501
- "onratechange": {
1502
- "body": "onratechange=\"${1:script}\"",
1503
- "valid_in": ["audio", "video"],
1504
- "description": "The `onratechange` attribute fires when the playing speed of the audio/video is changed.",
1505
- "link": "http://www.w3schools.com/tags/ev_onratechange.asp"
1506
- },
1507
- "onreset": {
1508
- "body": "onreset=\"${1:script}\"",
1509
- "valid_in": ["form"],
1510
- "description": "The `onreset` attribute fires when a form is reset.",
1511
- "link": "http://www.w3schools.com/tags/ev_onreset.asp"
1512
- },
1513
- "onresize": {
1514
- "body": "onresize=\"${1:script}\"",
1515
- "valid_in": ["body"],
1516
- "description": "The `onresize` attribute fires when the browser window is resized.",
1517
- "link": "http://www.w3schools.com/tags/ev_onresize.asp"
1518
- },
1519
- "onscroll": {
1520
- "body": "onscroll=\"${1:script}\"",
1521
- "valid_in": ["*"],
1522
- "description": "The `onscroll` attribute fires when an element's scrollbar is being scrolled.",
1523
- "link": "http://www.w3schools.com/tags/ev_onscroll.asp"
1524
- },
1525
- "onsearch": {
1526
- "body": "onsearch=\"${1:script}\"",
1527
- "valid_in": ["input"],
1528
- "description": "The `onsearch` attribute fires when the user writes something in a search field (for <input=\"search\">).",
1529
- "link": "http://www.w3schools.com/tags/ev_onsearch.asp"
1530
- },
1531
- "onseeked": {
1532
- "body": "onseeked=\"${1:script}\"",
1533
- "valid_in": ["audio", "video"],
1534
- "description": "The `onseeked` attribute fires when the user is finished moving/skipping to a new position in the audio/video.",
1535
- "link": "http://www.w3schools.com/tags/ev_onseeked.asp"
1536
- },
1537
- "onseeking": {
1538
- "body": "onseeking=\"${1:script}\"",
1539
- "valid_in": ["audio", "video"],
1540
- "description": "The `onseeking` attribute fires when the user starts moving/skipping to a new position in the audio/video.",
1541
- "link": "http://www.w3schools.com/tags/ev_onseeking.asp"
1542
- },
1543
- "onselect": {
1544
- "body": "onselect=\"${1:script}\"",
1545
- "valid_in": ["input", "textarea"],
1546
- "description": "The `onselect` attribute fires after some text has been selected in an element.",
1547
- "link": "http://www.w3schools.com/tags/ev_onselect.asp"
1548
- },
1549
- "onshow": {
1550
- "body": "onshow=\"${1:script}\"",
1551
- "valid_in": ["menu"],
1552
- "description": "The `onshow` attribute fires when a <menu> element is shown as a context menu.",
1553
- "link": "http://www.w3schools.com/tags/ev_onshow.asp"
1554
- },
1555
- "onstalled": {
1556
- "body": "onstalled=\"${1:script}\"",
1557
- "valid_in": ["audio", "video"],
1558
- "description": "The `onstalled` attribute fires when the browser is trying to get media data, but data is not available.",
1559
- "link": "http://www.w3schools.com/tags/ev_onstalled.asp"
1560
- },
1561
- "onstorage": {
1562
- "body": "onstorage=\"${1:script}\"",
1563
- "valid_in": ["body"],
1564
- "description": "The `onstorage` attribute fires when a Web Storage area is updated.",
1565
- "link": "http://www.w3schools.com/tags/ev_onstorage.asp"
1566
- },
1567
- "onsubmit": {
1568
- "body": "onsubmit=\"${1:script}\"",
1569
- "valid_in": ["form"],
1570
- "description": "The `onsubmit` attribute fires when a form is submitted.",
1571
- "link": "http://www.w3schools.com/tags/ev_onsubmit.asp"
1572
- },
1573
- "onsuspend": {
1574
- "body": "onsuspend=\"${1:script}\"",
1575
- "valid_in": ["audio", "video"],
1576
- "description": "The `onsuspend` attribute fires when the browser is intentionally not getting media data.",
1577
- "link": "http://www.w3schools.com/tags/ev_onsuspend.asp"
1578
- },
1579
- "ontimeupdate": {
1580
- "body": "ontimeupdate=\"${1:script}\"",
1581
- "valid_in": ["audio", "video"],
1582
- "description": "The `ontimeupdate` attribute fires when the playing position has changed (like when the user fast forwards to a different point in the media).",
1583
- "link": "http://www.w3schools.com/tags/ev_ontimeupdate.asp"
1584
- },
1585
- "ontoggle": {
1586
- "body": "ontoggle=\"${1:script}\"",
1587
- "valid_in": ["details"],
1588
- "description": "The `ontoggle` attribute fires when the user opens or closes the <details> element.",
1589
- "link": "http://www.w3schools.com/tags/ev_ontoggle.asp"
1590
- },
1591
- "onunload": {
1592
- "body": "onunload=\"${1:script}\"",
1593
- "valid_in": ["body"],
1594
- "description": "The `onunload` attribute fires once a page has unloaded (or the browser window has been closed).",
1595
- "link": "http://www.w3schools.com/tags/ev_onunload.asp"
1596
- },
1597
- "onvolumechange": {
1598
- "body": "onvolumechange=\"${1:script}\"",
1599
- "valid_in": ["audio", "video"],
1600
- "description": "The `onvolumechange` attribute fires when the volume is changed, or playback is muted or unmuted.",
1601
- "link": "http://www.w3schools.com/tags/ev_onvolumechange.asp"
1602
- },
1603
- "onwaiting": {
1604
- "body": "onwaiting=\"${1:script}\"",
1605
- "valid_in": ["audio", "video"],
1606
- "description": "The `onwaiting` attribute fires when the video stops because it needs to buffer the next frame.",
1607
- "link": "http://www.w3schools.com/tags/ev_onwaiting.asp"
1608
- },
1609
- "open": {
1610
- "body": "open",
1611
- "valid_in": ["details"],
1612
- "description": "The `open` attribute is a boolean attribute. When present, it specifies that the details should be visible (open) to the user.",
1613
- "link": "http://www.w3schools.com/tags/att_details_open.asp"
1614
- },
1615
- "optimum": {
1616
- "body": "optimum=\"${1:number}\"",
1617
- "valid_in": ["meter"],
1618
- "description": "The `optimum` attribute specifies what value is the optimal value for the gauge.",
1619
- "link": "http://www.w3schools.com/tags/att_meter_optimum.asp"
1620
- },
1621
- "pattern": {
1622
- "body": "pattern=\"${1:regexp}\"",
1623
- "valid_in": ["input"],
1624
- "description": "The `pattern` attribute specifies a regular expression that the <input> element's value is checked against.",
1625
- "link": "http://www.w3schools.com/tags/att_input_pattern.asp"
1626
- },
1627
- "placeholder": {
1628
- "body": "placeholder=\"${1:text}\"",
1629
- "valid_in": ["input", "textarea"],
1630
- "description": "The `placeholder` attribute specifies a short hint that describes the expected value of an input field.",
1631
- "link": "http://www.w3schools.com/tags/att_input_placeholder.asp"
1632
- },
1633
- "poster": {
1634
- "body": "poster=\"${1:url}\"",
1635
- "valid_in": ["video"],
1636
- "description": "The `poster` attribute specifies an image to be shown while the video is downloading, or until the user hits the play button.",
1637
- "link": "http://www.w3schools.com/tags/att_video_poster.asp"
1638
- },
1639
- "preload": {
1640
- "body": "preload=\"${1|none,metadata,auto|}\"",
1641
- "valid_in": ["audio", "video"],
1642
- "description": "The `preload` attribute specifies if and how the author thinks the audio/video should be loaded when the page loads.",
1643
- "link": "http://www.w3schools.com/tags/att_audio_preload.asp"
1644
- },
1645
-
1646
- "readonly": {
1647
- "body": "readonly",
1648
- "valid_in": ["input", "textarea"],
1649
- "description": "The `readonly` attribute specifies that the element is read-only.",
1650
- "link": "http://www.w3schools.com/tags/att_input_readonly.asp"
1651
- },
1652
- "rel": {
1653
- "body": "rel=\"${1:alternate|author|bookmark|help|license|next|nofollow|noreferrer|prefetch|prev|search|tag}\"",
1654
- "valid_in": ["a", "area", "link"],
1655
- "description": "The `rel` attribute specifies the relationship between the current document and the linked document.",
1656
- "link": "http://www.w3schools.com/tags/att_a_rel.asp"
1657
- },
1658
- "required": {
1659
- "body": "required",
1660
- "valid_in": ["input", "select", "textarea"],
1661
- "description": "The `required` attribute specifies that the element must be filled out before submitting the form.",
1662
- "link": "http://www.w3schools.com/tags/att_input_required.asp"
1663
- },
1664
- "reversed": {
1665
- "body": "reversed",
1666
- "valid_in": ["ol"],
1667
- "description": "The `reversed` attribute specifies that the list order should be descending (9,8,7...).",
1668
- "link": "http://www.w3schools.com/tags/att_ol_reversed.asp"
1669
- },
1670
-
1671
- "rows": {
1672
- "body": "rows=\"${1:number}\"",
1673
- "valid_in": ["textarea"],
1674
- "description": "The `rows` attribute specifies the visible number of lines in a text area.",
1675
- "link": "http://www.w3schools.com/tags/att_textarea_rows.asp"
1676
- },
1677
- "rowspan": {
1678
- "body": "rowspan=\"${1:number}\"",
1679
- "valid_in": ["td", "th"],
1680
- "description": "The `rowspan` attribute specifies the number of rows a table cell should span.",
1681
- "link": "http://www.w3schools.com/tags/att_td_rowspan.asp"
1682
- },
1683
- "sandbox": {
1684
- "body": "sandbox=\"${1|allow-forms,allow-same-origin,allow-scripts,allow-top-navigation|}\"",
1685
- "valid_in": ["iframe"],
1686
- "description": "The `sandbox` attribute enables an extra set of restrictions for the content in an <iframe> element.",
1687
- "link": "http://www.w3schools.com/tags/att_iframe_sandbox.asp"
1688
- },
1689
- "scope": {
1690
- "body": "scope=\"${1|row,col,rowgroup,colgroup|}\"",
1691
- "valid_in": ["th"],
1692
- "description": "The `scope` attribute specifies whether a header cell is a header for a column, row, or group of columns or rows.",
1693
- "link": "http://www.w3schools.com/tags/att_th_scope.asp"
1694
- },
1695
- "scoped": {
1696
- "body": "scoped",
1697
- "valid_in": ["style"],
1698
- "description": "The `scoped` attribute specifies that the styles only apply to this element's parent element and that element's child elements.",
1699
- "link": "http://www.w3schools.com/tags/att_style_scoped.asp"
1700
- },
1701
- "seamless": {
1702
- "body": "seamless",
1703
- "valid_in": ["iframe"],
1704
- "description": "The `seamless` attribute specifies that the <iframe> should look like it is a part of the containing document.",
1705
- "link": "http://www.w3schools.com/tags/att_iframe_seamless.asp"
1706
- },
1707
- "selected": {
1708
- "body": "selected",
1709
- "valid_in": ["option"],
1710
- "description": "The `selected` attribute specifies that an option should be pre-selected when the page loads.",
1711
- "link": "http://www.w3schools.com/tags/att_option_selected.asp"
1712
- },
1713
- "shape": {
1714
- "body": "shape=\"${1|default,rect,circle,poly|}\"",
1715
- "valid_in": ["a", "area"],
1716
- "description": "The `shape` attribute specifies the shape of the area.",
1717
- "link": "http://www.w3schools.com/tags/att_area_shape.asp"
1718
- },
1719
- "size": {
1720
- "body": "size=\"${1:number}\"",
1721
- "valid_in": ["input", "select"],
1722
- "description": "The `size` attribute specifies the width, in characters (for <input type=\"text\">) or specifies the number of visible options (for <select>).",
1723
- "link": "http://www.w3schools.com/tags/att_input_size.asp"
1724
- },
1725
- "sizes": {
1726
- "body": "sizes=\"${1:list-of-sizes}\"",
1727
- "valid_in": ["link"],
1728
- "description": "The `sizes` attribute specifies the size of the linked resource.",
1729
- "link": "http://www.w3schools.com/tags/att_link_sizes.asp"
1730
- },
1731
- "span": {
1732
- "body": "span=\"${1:number}\"",
1733
- "valid_in": ["col", "colgroup"],
1734
- "description": "The `span` attribute specifies the number of columns to span.",
1735
- "link": "http://www.w3schools.com/tags/att_col_span.asp"
1736
- },
1737
- "spellcheck": {
1738
- "body": "spellcheck=\"${1|true,false|}\"",
1739
- "valid_in": ["*"],
1740
- "description": "The `spellcheck` attribute specifies whether the element is to have its spelling and grammar checked or not.",
1741
- "link": "http://www.w3schools.com/tags/att_global_spellcheck.asp"
1742
- },
1743
- "src": {
1744
- "body": "src=\"${1:url}\"",
1745
- "valid_in": [
1746
- "audio",
1747
- "embed",
1748
- "iframe",
1749
- "img",
1750
- "input",
1751
- "script",
1752
- "source",
1753
- "track",
1754
- "video"
1755
- ],
1756
- "description": "The `src` attribute specifies the URL of the media file. Vader links src to the roots /src/ for all files but can be turned off using \n `<!-- #vader_disable_relative-paths -->`",
1757
- "link": "http://www.w3schools.com/tags/att_audio_src.asp"
1758
- },
1759
- "srcdoc": {
1760
- "body": "srcdoc=\"${1:html-code}\"",
1761
- "valid_in": ["iframe"],
1762
- "description": "The `srcdoc` attribute specifies the HTML content of the page to show in the <iframe>.",
1763
- "link": "http://www.w3schools.com/tags/att_iframe_srcdoc.asp"
1764
- },
1765
- "srclang": {
1766
- "body": "srclang=\"${1:language_code}\"",
1767
- "valid_in": ["track"],
1768
- "description": "The `srclang` attribute specifies the language of the track text data (required if kind=\"subtitles\").",
1769
- "link": "http://www.w3schools.com/tags/att_track_srclang.asp"
1770
- },
1771
- "srcset": {
1772
- "body": "srcset=\"${1:url}\"",
1773
- "valid_in": ["img", "source"],
1774
- "description": "The `srcset` attribute specifies the URL of the image to use in different situations.",
1775
- "link": "http://www.w3schools.com/tags/att_source_srcset.asp"
1776
- },
1777
- "start": {
1778
- "body": "start=\"${1:number}\"",
1779
- "valid_in": ["ol"],
1780
- "description": "The `start` attribute specifies the start value of an ordered list.",
1781
- "link": "http://www.w3schools.com/tags/att_ol_start.asp"
1782
- },
1783
- "step": {
1784
- "body": "step=\"${1:number}\"",
1785
- "valid_in": ["input"],
1786
- "description": "The `step` attribute specifies the legal number intervals for an input field.",
1787
- "link": "http://www.w3schools.com/tags/att_input_step.asp"
1788
- },
1789
- "style": {
1790
- "body": "style=\"${1}\"",
1791
- "valid_in": ["*"],
1792
- "deprecated": true,
1793
- "description": "The `style` attribute specifies an inline CSS style for an element. Use classes and identifiers or select elements by names in external stylesheets instead of inline styles!",
1794
- "link": "http://www.w3schools.com/tags/att_global_style.asp"
1795
- },
1796
- "tabindex": {
1797
- "body": "tabindex=\"${1:number}\"",
1798
- "valid_in": ["*"],
1799
- "description": "The `tabindex` attribute specifies the tab order of an element.",
1800
- "link": "http://www.w3schools.com/tags/att_global_tabindex.asp"
1801
- },
1802
- "target": {
1803
- "body": "target=\"${1:_blank}\"",
1804
- "valid_in": ["a", "area", "base", "form"],
1805
- "description": "The `target` attribute specifies where to open the linked document.",
1806
- "link": "http://www.w3schools.com/tags/att_a_target.asp"
1807
- },
1808
- "title": {
1809
- "body": "title=\"${1:text}\"",
1810
- "valid_in": ["*"],
1811
- "description": "The `title` attribute specifies extra information about an element.",
1812
- "link": "http://www.w3schools.com/tags/att_global_title.asp"
1813
- },
1814
- "translate": {
1815
- "body": "translate=\"${1|yes,no|}\"",
1816
- "valid_in": ["*"],
1817
- "description": "The `translate` attribute specifies whether the content of an element should be translated or not.",
1818
- "link": "http://www.w3schools.com/tags/att_global_translate.asp"
1819
- },
1820
- "type": {
1821
- "body": "type=\"${1:text}\"",
1822
- "valid_in": [
1823
- "button",
1824
- "embed",
1825
- "input",
1826
- "link",
1827
- "menu",
1828
- "object",
1829
- "script",
1830
- "source",
1831
- "style"
1832
- ],
1833
- "description": "The `type` attribute specifies the type of element.",
1834
- "link": "http://www.w3schools.com/tags/att_global_type.asp"
1835
- },
1836
- "usemap": {
1837
- "body": "usemap=\"${1:#mapname}\"",
1838
- "valid_in": ["img", "object"],
1839
- "description": "The `usemap` attribute specifies an image as a client-side image-map.",
1840
- "link": "http://www.w3schools.com/tags/att_img_usemap.asp"
1841
- },
1842
- "value": {
1843
- "body": "value=\"${1:text}\"",
1844
- "valid_in": [
1845
- "button",
1846
- "input",
1847
- "li",
1848
- "meter",
1849
- "option",
1850
- "progress",
1851
- "param"
1852
- ],
1853
- "description": "The `value` attribute specifies the value of an <input> element.",
1854
- "link": "http://www.w3schools.com/tags/att_input_value.asp"
1855
- },
1856
-
1857
- "width": {
1858
- "body": "width=\"${1:number}\"",
1859
- "valid_in": [
1860
- "canvas",
1861
- "embed",
1862
- "iframe",
1863
- "img",
1864
- "input",
1865
- "object",
1866
- "video"
1867
- ],
1868
- "description": "The `width` attribute specifies the width of an element.",
1869
- "link": "http://www.w3schools.com/tags/att_iframe_width.asp"
1870
- },
1871
- "wrap": {
1872
- "body": "wrap=\"${1|soft,hard|}\"",
1873
- "valid_in": ["textarea"],
1874
- "description": "The `wrap` attribute specifies how the text in a text area is to be wrapped when submitted in a form.",
1875
- "link": "http://www.w3schools.com/tags/att_textarea_wrap.asp"
1876
- },
1877
- "xmlns": {
1878
- "body": "xmlns=\"${1:url}\"",
1879
- "valid_in": ["*"],
1880
- "description": "The `xmlns` attribute specifies the XML namespace for an element.",
1881
- "link": "http://www.w3schools.com/tags/att_global_xmlns.asp"
1882
- },
1883
- "action":{
1884
- "body": "action=\"${1:url}\"",
1885
- "valid_in": ["form"],
1886
- "description": "The `action` attribute specifies where to send the form-data when a form is submitted.",
1887
- "link": "http://www.w3schools.com/tags/att_form_action.asp"
1888
-
1889
- }
1890
- }
1891
- }