forked from jgthms/html-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.html
More file actions
748 lines (685 loc) · 28.7 KB
/
Copy pathbase.html
File metadata and controls
748 lines (685 loc) · 28.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
<section id="body" class="element">
<header class="element-header">
<nav class="element-links">
<span>
Type: <strong>block</strong>
</span>
<span>
Self-closing:
<strong>
No
</strong>
</span>
<a class="element-links-direct" href="{{site.url}}/element/body/" data-element-name="body" data-tooltip="Single page for this element">Permalink</a>
<a class="element-share" data-tooltip="Share on Twitter or Facebook" data-element-name="body">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/HTML/Element/body" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="element-name">
<a href="#body">
<span>#</span>
body
</a>
</h2>
<div class="element-description">
<p>The container for a web page's content. Must be a direct child of <code><html></code>, and must be an ancestor of all HTML elements (except where noted).</p>
</div>
</header>
<div id="body-example-0" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#body-example-0-code">Copy</a>
</p>
<article class="example-preview">
<div id="body-example-0-code" class="example-code">{% highlight html %}<!DOCTYPE html>
<html>
<head>
<!-- Document metadata -->
</head>
<body>
<!-- Document content -->
</body>
</html>{% endhighlight %}</div>
</article>
</div>
</section>
<section id="head" class="element">
<header class="element-header">
<nav class="element-links">
<span>
Type: <strong>block</strong>
</span>
<span>
Self-closing:
<strong>
No
</strong>
</span>
<a class="element-links-direct" href="{{site.url}}/element/head/" data-element-name="head" data-tooltip="Single page for this element">Permalink</a>
<a class="element-share" data-tooltip="Share on Twitter or Facebook" data-element-name="head">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/HTML/Element/head" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="element-name">
<a href="#head">
<span>#</span>
head
</a>
</h2>
<div class="element-description">
<p>Defines a container for a web page's <strong>metadata</strong>.</p>
</div>
</header>
<div id="head-example-0" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#head-example-0-code">Copy</a>
</p>
<article class="example-preview">
<div id="head-example-0-code" class="example-code">{% highlight html %}<!DOCTYPE html>
<html>
<head>
<!-- Document metadata -->
</head>
<body>
<!-- Document content -->
</body>
</html>{% endhighlight %}</div>
</article>
</div>
</section>
<section id="html" class="element">
<header class="element-header">
<nav class="element-links">
<span>
Type: <strong>block</strong>
</span>
<span>
Self-closing:
<strong>
No
</strong>
</span>
<a class="element-links-direct" href="{{site.url}}/element/html/" data-element-name="html" data-tooltip="Single page for this element">Permalink</a>
<a class="element-share" data-tooltip="Share on Twitter or Facebook" data-element-name="html">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/HTML/Element/html" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="element-name">
<a href="#html">
<span>#</span>
html
</a>
</h2>
<div class="element-description">
<p>Defines the <strong>root element</strong> of an HTML document. All other elements must be contained within this root element.</p>
</div>
</header>
<div id="html-example-0" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#html-example-0-code">Copy</a>
</p>
<article class="example-preview">
<div id="html-example-0-code" class="example-code">{% highlight html %}<!DOCTYPE html>
<html>
<head>
<!-- Document metadata -->
</head>
<body>
<!-- Document content -->
</body>
</html>{% endhighlight %}</div>
</article>
</div>
</section>
<section id="link" class="element">
<header class="element-header">
<nav class="element-links">
<span>
Self-closing:
<strong>
No
</strong>
</span>
<a class="element-links-direct" href="{{site.url}}/element/link/" data-element-name="link" data-tooltip="Single page for this element">Permalink</a>
<a class="element-share" data-tooltip="Share on Twitter or Facebook" data-element-name="link">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/HTML/Element/link" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="element-name">
<a href="#link">
<span>#</span>
link
</a>
</h2>
<div class="element-description">
<p>Defines a <strong>link</strong> between the current web page and an external link or resource.</p>
</div>
</header>
<div id="link-example-0" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#link-example-0-code">Copy</a>
</p>
<article class="example-preview">
<div id="link-example-0-code" class="example-code">{% highlight html %}<link rel="stylesheet" type="text/css" href="{{site.url}}/css/website.css">{% endhighlight %}</div>
</article>
</div>
<article id="link-href" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="href">
href
</code>
</h3>
<div class="attribute-description">
<p>Defines the URL of the link.</p>
</div>
</header>
<div class="attribute-values">
<article id="link-href-siteurlcsswebsitecss" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy href="{{site.url}}/css/website.css"" data-clipboard-text="href="{{site.url}}/css/website.css"">
"{{site.url}}/css/website.css"
</code>
</h4>
<div class="value-description">
<p>You can pass an <strong>absolute</strong> URL.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><link href="{{site.url}}/css/website.css"></link></div>
</aside>
</article>
<article id="link-href-csswebsitecss" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy href="/css/website.css"" data-clipboard-text="href="/css/website.css"">
"/css/website.css"
</code>
</h4>
<div class="value-description">
<p>You can pass a URL <strong>relative</strong> to the root domain.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><link href="/css/website.css"></link></div>
</aside>
</article>
</div>
</article>
<article id="link-rel" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="rel">
rel
</code>
</h3>
<div class="attribute-description">
<p>Defines a <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types">link type</a>, explaining how the link relates to the current web page.</p>
</div>
</header>
<div class="attribute-values">
<article id="link-rel-stylesheet" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy rel="stylesheet"" data-clipboard-text="rel="stylesheet"">
"stylesheet"
</code>
</h4>
<div class="value-description">
<p>The link is a stylesheet.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><link rel="stylesheet"></link></div>
</aside>
</article>
<article id="link-rel-icon" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy rel="icon"" data-clipboard-text="rel="icon"">
"icon"
</code>
</h4>
<div class="value-description">
<p>The link is a favicon.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><link rel="icon"></link></div>
</aside>
</article>
<article id="link-rel-author" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy rel="author"" data-clipboard-text="rel="author"">
"author"
</code>
</h4>
<div class="value-description">
<p>The link is the web page's author website.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><link rel="author"></link></div>
</aside>
</article>
<article id="link-rel-next" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy rel="next"" data-clipboard-text="rel="next"">
"next"
</code>
</h4>
<div class="value-description">
<p>The link is the next page.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><link rel="next"></link></div>
</aside>
</article>
</div>
</article>
<article id="link-type" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="type">
type
</code>
</h3>
<div class="attribute-description">
<p>Defines the type of the linked resource.</p>
</div>
</header>
<div class="attribute-values">
<article id="link-type-textcss" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy type="text/css"" data-clipboard-text="type="text/css"">
"text/css"
</code>
</h4>
<div class="value-description">
<p>The link is a CSS file.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><link type="text/css"></link></div>
</aside>
</article>
<article id="link-type-texthtml" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy type="text/html"" data-clipboard-text="type="text/html"">
"text/html"
</code>
</h4>
<div class="value-description">
<p>The link is an HTML document.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><link type="text/html"></link></div>
</aside>
</article>
</div>
</article>
</section>
<section id="meta" class="element">
<header class="element-header">
<nav class="element-links">
<span>
Self-closing:
<strong>
No
</strong>
</span>
<a class="element-links-direct" href="{{site.url}}/element/meta/" data-element-name="meta" data-tooltip="Single page for this element">Permalink</a>
<a class="element-share" data-tooltip="Share on Twitter or Facebook" data-element-name="meta">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/HTML/Element/meta" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="element-name">
<a href="#meta">
<span>#</span>
meta
</a>
</h2>
<div class="element-description">
<p>Defines <strong>metadata</strong> attached to a web page.</p>
</div>
</header>
<div id="meta-example-0" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#meta-example-0-code">Copy</a>
</p>
<article class="example-preview">
<div id="meta-example-0-code" class="example-code">{% highlight html %}<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#ffffff">{% endhighlight %}</div>
</article>
</div>
<div id="meta-example-1" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#meta-example-1-code">Copy</a>
</p>
<article class="example-preview">
<div id="meta-example-1-code" class="example-code">{% highlight html %}<!-- Refresh the page every 5 seconds -->
<meta http-equiv="refresh" content="5">{% endhighlight %}</div>
</article>
</div>
<div id="meta-example-2" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#meta-example-2-code">Copy</a>
</p>
<article class="example-preview">
<div id="meta-example-2-code" class="example-code">{% highlight html %}<!-- Redirect instantly to http://cssreference.io -->
<meta http-equiv="refresh" content="0; url=http://cssreference.io">{% endhighlight %}</div>
</article>
</div>
<article id="meta-charset" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="charset">
charset
</code>
</h3>
<div class="attribute-description">
<p>Defines the character encoding for the whole web page.</p>
</div>
</header>
<div class="attribute-values">
<article id="meta-charset-utf-8" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy charset="UTF-8"" data-clipboard-text="charset="UTF-8"">
"UTF-8"
</code>
</h4>
<div class="value-description">
<p>The value must be a valid <a href="https://www.iana.org/assignments/character-sets/character-sets.xhtml">character set</a>.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><meta charset="UTF-8"></meta></div>
</aside>
</article>
</div>
</article>
<article id="meta-http-equiv" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="http-equiv">
http-equiv
</code>
</h3>
<div class="attribute-description">
<p>Defines meta rules for the web page.</p>
</div>
</header>
<div class="attribute-values">
<article id="meta-http-equiv-content-security-policy" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy http-equiv="Content-Security-Policy"" data-clipboard-text="http-equiv="Content-Security-Policy"">
"Content-Security-Policy"
</code>
</h4>
<div class="value-description">
<p>Defines a link to a web page's <a href="https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives">content policies</a>.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><meta http-equiv="Content-Security-Policy"></meta></div>
</aside>
</article>
<article id="meta-http-equiv-refresh" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy http-equiv="refresh"" data-clipboard-text="http-equiv="refresh"">
"refresh"
</code>
</h4>
<div class="value-description">
<p>Allows to refresh the web page every N seconds, or even redirect to another URL.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><meta http-equiv="refresh"></meta></div>
</aside>
</article>
<article id="meta-http-equiv-x-ua-compatible" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy http-equiv="X-UA-Compatible"" data-clipboard-text="http-equiv="X-UA-Compatible"">
"X-UA-Compatible"
</code>
</h4>
<div class="value-description">
<p>Defines which Internet Explorer verison the web page should be rendered as.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><meta http-equiv="X-UA-Compatible"></meta></div>
</aside>
</article>
</div>
</article>
<article id="meta-name" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="name">
name
</code>
</h3>
<div class="attribute-description">
<p>Defines additional information attached to the web page.</p>
</div>
</header>
<div class="attribute-values">
<article id="meta-name-viewport" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy name="viewport"" data-clipboard-text="name="viewport"">
"viewport"
</code>
</h4>
<div class="value-description">
<p>Defines dimension and scaling rules for the viewport.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><meta name="viewport"></meta></div>
</aside>
</article>
<article id="meta-name-theme-color" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy name="theme-color"" data-clipboard-text="name="theme-color"">
"theme-color"
</code>
</h4>
<div class="value-description">
<p>Defines a theme color which can be used by the browser or the operating system.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><meta name="theme-color"></meta></div>
</aside>
</article>
</div>
</article>
<article id="meta-content" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="content">
content
</code>
</h3>
<div class="attribute-description">
<p>Defines the content of the metadata. This varies according to the <code>name</code> or <code>http-equiv</code> value.</p>
</div>
</header>
<div class="attribute-values">
<article id="meta-content-widthdevice-width-initial-scale1" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy content="width=device-width, initial-scale=1"" data-clipboard-text="content="width=device-width, initial-scale=1"">
"width=device-width, initial-scale=1"
</code>
</h4>
<div class="value-description">
<p>For the <code>viewport</code> metadata, you can specify the width and initial scale of the web page.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><meta content="width=device-width, initial-scale=1"></meta></div>
</aside>
</article>
<article id="meta-content-2-urlhttpcssreferenceio" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy content="2; url=http://cssreference.io"" data-clipboard-text="content="2; url=http://cssreference.io"">
"2; url=http://cssreference.io"
</code>
</h4>
<div class="value-description">
<p>For the <code>refresh</code> metadata, you can specify how many seconds to wait before redirecting to another URL.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><meta content="2; url=http://cssreference.io"></meta></div>
</aside>
</article>
</div>
</article>
</section>
<section id="script" class="element">
<header class="element-header">
<nav class="element-links">
<span>
Self-closing:
<strong>
No
</strong>
</span>
<a class="element-links-direct" href="{{site.url}}/element/script/" data-element-name="script" data-tooltip="Single page for this element">Permalink</a>
<a class="element-share" data-tooltip="Share on Twitter or Facebook" data-element-name="script">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/HTML/Element/script" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="element-name">
<a href="#script">
<span>#</span>
script
</a>
</h2>
<div class="element-description">
<p>Defines a container for an <strong>external script</strong>.</p>
</div>
</header>
<div id="script-example-0" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#script-example-0-code">Copy</a>
</p>
<article class="example-preview">
<div id="script-example-0-code" class="example-code">{% highlight html %}<script src="{{site.url}}/javascript/my-scripts.js"></script>{% endhighlight %}</div>
</article>
</div>
<div id="script-example-1" class="example">
<p class="example-label">
<strong>Example:</strong>
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#script-example-1-code">Copy</a>
</p>
<article class="example-preview">
<div id="script-example-1-code" class="example-code">{% highlight html %}<script type="text/javascript">
console.log('Hello World');
</script>{% endhighlight %}</div>
</article>
</div>
<article id="script-src" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="src">
src
</code>
</h3>
<div class="attribute-description">
<p>Defines the source of the external script.</p>
</div>
</header>
<div class="attribute-values">
<article id="script-src-javascriptmy-scriptsjs" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy src="/javascript/my-scripts.js"" data-clipboard-text="src="/javascript/my-scripts.js"">
"/javascript/my-scripts.js"
</code>
</h4>
<div class="value-description">
<p>The URL can be relative or absolute.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><script src="/javascript/my-scripts.js"></script></div>
</aside>
</article>
</div>
</article>
<article id="script-type" class="attribute">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="type">
type
</code>
</h3>
<div class="attribute-description">
<p>Defines the <a href="http://www.iana.org/assignments/media-types/media-types.xhtml">MIME type</a> of the external script.</p>
</div>
</header>
<div class="attribute-values">
<article id="script-type-textjavascript" class="value">
<header class="value-header">
<h4 class="value-name">
<code class="tag" data-tooltip="Click to copy type="text/javascript"" data-clipboard-text="type="text/javascript"">
"text/javascript"
</code>
</h4>
<div class="value-description">
<p>This is for <code>.js</code> files.</p>
</div>
</header>
<aside class="value-preview">
<div class="value-output"><script type="text/javascript"></script></div>
</aside>
</article>
</div>
</article>
<article id="script-async" class="attribute attribute--novalue">
<header class="attribute-header">
<h3 class="attribute-name">
<code class="tag" data-tooltip="Click to copy" data-clipboard-text="async">
async
</code>
</h3>
<div class="attribute-description">
<p>Allows the external script to be loaded asynchronously.</p>
<strong class="attribute-is-novalue">No value required.</strong>
</div>
</header>
<div class="attribute-values">
<article id="script-async-undefined" class="value">
<header class="value-header">
<div class="value-description">
</div>
</header>
<aside class="value-preview">
<div class="value-output"><script async></script></div>
</aside>
</article>
</div>
</article>
</section>