httpequiv()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
ccs 1
cts 1
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
4
namespace Teein\Html\Attributes;
5
6
use Teein\Html\Ast\Attribute;
7
8
/**
9
 * @link https://html.spec.whatwg.org/#attr-th-abbr
10
 */
11
function abbr_(string $value) : Attribute
12
{
13 1
    return new Attribute('abbr', $value);
14
}
15
16
/**
17
 * @link https://html.spec.whatwg.org/#attr-input-accept
18
 */
19
function accept(string $value) : Attribute
20
{
21 1
    return new Attribute('accept', $value);
22
}
23
24
/**
25
 * @link https://html.spec.whatwg.org/#attr-form-accept-charset
26
 */
27
function acceptcharset(string $value) : Attribute
28
{
29 1
    return new Attribute('accept-charset', $value);
30
}
31
32
/**
33
 * @link https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute
34
 */
35
function accesskey(string $value) : Attribute
36
{
37 1
    return new Attribute('accesskey', $value);
38
}
39
40
/**
41
 * @link https://html.spec.whatwg.org/#attr-fs-action
42
 */
43
function action(string $value) : Attribute
44
{
45 1
    return new Attribute('action', $value);
46
}
47
48
/**
49
 * @link https://html.spec.whatwg.org/#attr-iframe-allowfullscreen
50
 */
51
function allowfullscreen(string $value) : Attribute
52
{
53 1
    return new Attribute('allowfullscreen', $value);
54
}
55
56
/**
57
 * @link https://html.spec.whatwg.org/#attr-iframe-allowpaymentrequest
58
 */
59
function allowpaymentrequest(string $value) : Attribute
60
{
61 1
    return new Attribute('allowpaymentrequest', $value);
62
}
63
64
/**
65
 * @link https://html.spec.whatwg.org/#attr-iframe-allowusermedia
66
 */
67
function allowusermedia(string $value) : Attribute
68
{
69 1
    return new Attribute('allowusermedia', $value);
70
}
71
72
/**
73
 * @link https://html.spec.whatwg.org/#attr-img-alt
74
 */
75
function alt(string $value) : Attribute
76
{
77 1
    return new Attribute('alt', $value);
78
}
79
80
/**
81
 * @link https://html.spec.whatwg.org/#attr-link-as
82
 */
83
function as_(string $value) : Attribute
84
{
85 1
    return new Attribute('as', $value);
86
}
87
88
/**
89
 * @link https://html.spec.whatwg.org/#attr-script-async
90
 */
91
function async(string $value) : Attribute
92
{
93 1
    return new Attribute('async', $value);
94
}
95
96
/**
97
 * @link https://html.spec.whatwg.org/#attr-fe-autocomplete
98
 */
99
function autocomplete(string $value) : Attribute
100
{
101 1
    return new Attribute('autocomplete', $value);
102
}
103
104
/**
105
 * @link https://html.spec.whatwg.org/#attr-fe-autofocus
106
 */
107
function autofocus(string $value) : Attribute
108
{
109 1
    return new Attribute('autofocus', $value);
110
}
111
112
/**
113
 * @link https://html.spec.whatwg.org/#attr-media-autoplay
114
 */
115
function autoplay(string $value) : Attribute
116
{
117 1
    return new Attribute('autoplay', $value);
118
}
119
120
/**
121
 * @link https://html.spec.whatwg.org/#attr-meta-charset
122
 */
123
function charset(string $value) : Attribute
124
{
125 1
    return new Attribute('charset', $value);
126
}
127
128
/**
129
 * @link https://html.spec.whatwg.org/#attr-menuitem-checked
130
 */
131
function checked(string $value) : Attribute
132
{
133 1
    return new Attribute('checked', $value);
134
}
135
136
/**
137
 * @link https://html.spec.whatwg.org/#classes
138
 */
139
function class_(string $value) : Attribute
140
{
141 1
    return new Attribute('class', $value);
142
}
143
144
145
/**
146
 * @link https://html.spec.whatwg.org/#attr-mod-cite
147
 */
148
function cite_(string $value) : Attribute
149
{
150 1
    return new Attribute('cite', $value);
151
}
152
153
/**
154
 * @link https://html.spec.whatwg.org/#attr-link-color
155
 */
156
function color(string $value) : Attribute
157
{
158 1
    return new Attribute('color', $value);
159
}
160
161
/**
162
 * @link https://html.spec.whatwg.org/#attr-textarea-cols
163
 */
164
function cols(string $value) : Attribute
165
{
166 1
    return new Attribute('cols', $value);
167
}
168
169
/**
170
 * @link https://html.spec.whatwg.org/#attr-tdth-colspan
171
 */
172
function colspan(string $value) : Attribute
173
{
174 1
    return new Attribute('colspan', $value);
175
}
176
177
/**
178
 * @link https://html.spec.whatwg.org/#attr-meta-content
179
 */
180
function content(string $value) : Attribute
181
{
182 1
    return new Attribute('content', $value);
183
}
184
185
/**
186
 * @link https://html.spec.whatwg.org/#attr-contenteditable
187
 */
188
function contenteditable(string $value) : Attribute
189
{
190 1
    return new Attribute('contenteditable', $value);
191
}
192
193
/**
194
 * @link https://html.spec.whatwg.org/#attr-media-controls
195
 */
196
function controls(string $value) : Attribute
197
{
198 1
    return new Attribute('controls', $value);
199
}
200
201
/**
202
 * @link https://html.spec.whatwg.org/#attr-area-coords
203
 */
204
function coords(string $value) : Attribute
205
{
206 1
    return new Attribute('coords', $value);
207
}
208
209
/**
210
 * @link https://html.spec.whatwg.org/#attr-media-crossorigin
211
 */
212
function crossorigin(string $value) : Attribute
213
{
214 1
    return new Attribute('crossorigin', $value);
215
}
216
217
/**
218
 * @link https://html.spec.whatwg.org/multipage/dom.html#attr-data-*
219
 */
220
function data_(string $name, string $value) : Attribute
221
{
222 1
    return new Attribute('data-' . $name, $value);
223
}
224
225
/**
226
 * @link https://html.spec.whatwg.org/#attr-time-datetime
227
 */
228
function datetime(string $value) : Attribute
229
{
230 1
    return new Attribute('datetime', $value);
231
}
232
233
/**
234
 * @link https://html.spec.whatwg.org/#attr-menuitem-default
235
 */
236
function default_(string $value) : Attribute
237
{
238 1
    return new Attribute('default', $value);
239
}
240
241
/**
242
 * @link https://html.spec.whatwg.org/#attr-script-defer
243
 */
244
function defer(string $value) : Attribute
245
{
246 1
    return new Attribute('defer', $value);
247
}
248
249
/**
250
 * @link https://html.spec.whatwg.org/#the-dir-attribute
251
 */
252
function dir(string $value) : Attribute
253
{
254 1
    return new Attribute('dir', $value);
255
}
256
257
/**
258
 * @link https://html.spec.whatwg.org/#attr-fe-dirname
259
 */
260
function dirname(string $value) : Attribute
261
{
262 1
    return new Attribute('dirname', $value);
263
}
264
265
/**
266
 * @link https://html.spec.whatwg.org/#attr-option-disabled
267
 */
268
function disabled(string $value) : Attribute
269
{
270 1
    return new Attribute('disabled', $value);
271
}
272
273
/**
274
 * @link https://html.spec.whatwg.org/#attr-hyperlink-download
275
 */
276
function download(string $value) : Attribute
277
{
278 1
    return new Attribute('download', $value);
279
}
280
281
/**
282
 * @link https://html.spec.whatwg.org/multipage/dnd.html#the-draggable-attribute
283
 */
284
function draggable(string $value) : Attribute
285
{
286 1
    return new Attribute('draggable', $value);
287
}
288
289
/**
290
 * @link https://html.spec.whatwg.org/#attr-fs-enctype
291
 */
292
function enctype(string $value) : Attribute
293
{
294 1
    return new Attribute('enctype', $value);
295
}
296
297
/**
298
 * @link https://html.spec.whatwg.org/#attr-output-for
299
 */
300
function for_(string $value) : Attribute
301
{
302 1
    return new Attribute('for', $value);
303
}
304
305
/**
306
 * @link https://html.spec.whatwg.org/#attr-fae-form
307
 */
308
function form_(string $value) : Attribute
309
{
310 1
    return new Attribute('form', $value);
311
}
312
313
/**
314
 * @link https://html.spec.whatwg.org/#attr-fs-formaction
315
 */
316
function formaction(string $value) : Attribute
317
{
318 1
    return new Attribute('formaction', $value);
319
}
320
321
/**
322
 * @link https://html.spec.whatwg.org/#attr-fs-formenctype
323
 */
324
function formenctype(string $value) : Attribute
325
{
326 1
    return new Attribute('formenctype', $value);
327
}
328
329
/**
330
 * @link https://html.spec.whatwg.org/#attr-fs-formmethod
331
 */
332
function formmethod(string $value) : Attribute
333
{
334 1
    return new Attribute('formmethod', $value);
335
}
336
337
/**
338
 * @link https://html.spec.whatwg.org/#attr-fs-formnovalidate
339
 */
340
function formnovalidate(string $value) : Attribute
341
{
342 1
    return new Attribute('formnovalidate', $value);
343
}
344
345
/**
346
 * @link https://html.spec.whatwg.org/#attr-fs-formtarget
347
 */
348
function formtarget(string $value) : Attribute
349
{
350 1
    return new Attribute('formtarget', $value);
351
}
352
353
/**
354
 * @link https://html.spec.whatwg.org/#attr-tdth-headers
355
 */
356
function headers(string $value) : Attribute
357
{
358 1
    return new Attribute('headers', $value);
359
}
360
361
/**
362
 * @link https://html.spec.whatwg.org/#attr-canvas-height
363
 */
364
function height(string $value) : Attribute
365
{
366 1
    return new Attribute('height', $value);
367
}
368
369
/**
370
 * @link https://html.spec.whatwg.org/multipage/interaction.html#the-hidden-attribute
371
 */
372
function hidden(string $value) : Attribute
373
{
374 1
    return new Attribute('hidden', $value);
375
}
376
377
/**
378
 * @link https://html.spec.whatwg.org/#attr-meter-high
379
 */
380
function high(string $value) : Attribute
381
{
382 1
    return new Attribute('high', $value);
383
}
384
385
/**
386
 * @link https://html.spec.whatwg.org/#attr-link-href
387
 */
388
function href(string $value) : Attribute
389
{
390 1
    return new Attribute('href', $value);
391
}
392
393
/**
394
 * @link https://html.spec.whatwg.org/#attr-hyperlink-hreflang
395
 */
396
function hreflang(string $value) : Attribute
397
{
398 1
    return new Attribute('hreflang', $value);
399
}
400
401
/**
402
 * @link https://html.spec.whatwg.org/#attr-meta-http-equiv
403
 */
404
function httpequiv(string $value) : Attribute
405
{
406 1
    return new Attribute('http-equiv', $value);
407
}
408
409
/**
410
 * @link https://html.spec.whatwg.org/#the-id-attribute
411
 */
412
function id(string $value) : Attribute
413
{
414 1
    return new Attribute('id', $value);
415
}
416
417
/**
418
 * @link https://html.spec.whatwg.org/#attr-fe-inputmode
419
 */
420
function inputmode(string $value) : Attribute
421
{
422 1
    return new Attribute('inputmode', $value);
423
}
424
425
/**
426
 * @link https://html.spec.whatwg.org/#attr-link-integrity
427
 */
428
function integrity(string $value) : Attribute
429
{
430 1
    return new Attribute('integrity', $value);
431
}
432
433
/**
434
 * @link https://html.spec.whatwg.org/#attr-is
435
 */
436
function is(string $value) : Attribute
437
{
438 1
    return new Attribute('is', $value);
439
}
440
441
/**
442
 * @link https://html.spec.whatwg.org/#attr-img-ismap
443
 */
444
function ismap(string $value) : Attribute
445
{
446 1
    return new Attribute('ismap', $value);
447
}
448
449
450
/**
451
 * @link https://html.spec.whatwg.org/multipage/microdata.html#attr-itemid
452
 */
453
function itemid(string $value) : Attribute
454
{
455 1
    return new Attribute('itemid', $value);
456
}
457
458
/**
459
 * @link https://html.spec.whatwg.org/multipage/microdata.html#attr-itemid
460
 */
461
function itemprop(string $value) : Attribute
462
{
463 1
    return new Attribute('itemprop', $value);
464
}
465
466
/**
467
 * @link https://html.spec.whatwg.org/multipage/microdata.html#attr-itemref
468
 */
469
function itemref(string $value) : Attribute
470
{
471 1
    return new Attribute('itemref', $value);
472
}
473
474
/**
475
 * @link https://html.spec.whatwg.org/multipage/microdata.html#attr-itemscope
476
 */
477
function itemscope(string $value) : Attribute
478
{
479 1
    return new Attribute('itemscope', $value);
480
}
481
482
/**
483
 * @link https://html.spec.whatwg.org/multipage/microdata.html#attr-itemtype
484
 */
485
function itemtype(string $value) : Attribute
486
{
487 1
    return new Attribute('itemtype', $value);
488
}
489
490
/**
491
 * @link https://html.spec.whatwg.org/#attr-track-kind
492
 */
493
function kind(string $value) : Attribute
494
{
495 1
    return new Attribute('kind', $value);
496
}
497
498
/**
499
 * @link https://html.spec.whatwg.org/#attr-option-label
500
 */
501
function label_(string $value) : Attribute
502
{
503 1
    return new Attribute('label', $value);
504
}
505
506
/**
507
 * @link https://html.spec.whatwg.org/#attr-lang
508
 */
509
function lang(string $value) : Attribute
510
{
511 1
    return new Attribute('lang', $value);
512
}
513
514
/**
515
 * @link https://html.spec.whatwg.org/#attr-input-list
516
 */
517
function list_(string $value) : Attribute
518
{
519 1
    return new Attribute('list', $value);
520
}
521
522
/**
523
 * @link https://html.spec.whatwg.org/#attr-media-loop
524
 */
525
function loop(string $value) : Attribute
526
{
527 1
    return new Attribute('loop', $value);
528
}
529
530
/**
531
 * @link https://html.spec.whatwg.org/#attr-meter-low
532
 */
533
function low(string $value) : Attribute
534
{
535 1
    return new Attribute('low', $value);
536
}
537
538
/**
539
 * @link https://html.spec.whatwg.org/#attr-html-manifest
540
 */
541
function manifest(string $value) : Attribute
542
{
543 1
    return new Attribute('manifest', $value);
544
}
545
546
/**
547
 * @link https://html.spec.whatwg.org/#attr-input-max
548
 */
549
function max(string $value) : Attribute
550
{
551 1
    return new Attribute('max', $value);
552
}
553
554
/**
555
 * @link https://html.spec.whatwg.org/#attr-textarea-maxlength
556
 */
557
function maxlength(string $value) : Attribute
558
{
559 1
    return new Attribute('maxlength', $value);
560
}
561
562
/**
563
 * @link https://html.spec.whatwg.org/#attr-source-media
564
 */
565
function media(string $value) : Attribute
566
{
567 1
    return new Attribute('media', $value);
568
}
569
570
/**
571
 * @link https://html.spec.whatwg.org/#attr-fs-method
572
 */
573
function method(string $value) : Attribute
574
{
575 1
    return new Attribute('method', $value);
576
}
577
578
/**
579
 * @link https://html.spec.whatwg.org/#attr-meter-min
580
 */
581
function min(string $value) : Attribute
582
{
583 1
    return new Attribute('min', $value);
584
}
585
586
/**
587
 * @link https://html.spec.whatwg.org/#attr-textarea-minlength
588
 */
589
function minlength(string $value) : Attribute
590
{
591 1
    return new Attribute('minlength', $value);
592
}
593
594
/**
595
 * @link https://html.spec.whatwg.org/#attr-select-multiple
596
 */
597
function multiple(string $value) : Attribute
598
{
599 1
    return new Attribute('multiple', $value);
600
}
601
602
/**
603
 * @link https://html.spec.whatwg.org/#attr-media-muted
604
 */
605
function muted(string $value) : Attribute
606
{
607 1
    return new Attribute('muted', $value);
608
}
609
610
/**
611
 * @link https://html.spec.whatwg.org/#attr-meta-name
612
 */
613
function name(string $value) : Attribute
614
{
615 1
    return new Attribute('name', $value);
616
}
617
618
/**
619
 * @link https://html.spec.whatwg.org/#attr-script-nomodule
620
 */
621
function nomodule(string $value) : Attribute
622
{
623 1
    return new Attribute('nomodule', $value);
624
}
625
626
/**
627
 * @link https://html.spec.whatwg.org/#attr-script-nonce
628
 */
629
function nonce(string $value) : Attribute
630
{
631 1
    return new Attribute('nonce', $value);
632
}
633
634
/**
635
 * @link https://html.spec.whatwg.org/#attr-fs-novalidate
636
 */
637
function novalidate(string $value) : Attribute
638
{
639 1
    return new Attribute('novalidate', $value);
640
}
641
642
/**
643
 * @link https://html.spec.whatwg.org/#attr-object-data
644
 */
645
function odata(string $value) : Attribute
646
{
647 1
    return new Attribute('data', $value);
648
}
649
650
/**
651
 * @link https://html.spec.whatwg.org/#attr-dialog-open
652
 */
653
function open(string $value) : Attribute
654
{
655 1
    return new Attribute('open', $value);
656
}
657
658
/**
659
 * @link https://html.spec.whatwg.org/#attr-meter-optimum
660
 */
661
function optimum(string $value) : Attribute
662
{
663 1
    return new Attribute('optimum', $value);
664
}
665
666
/**
667
 * @link https://html.spec.whatwg.org/#attr-input-pattern
668
 */
669
function pattern(string $value) : Attribute
670
{
671 1
    return new Attribute('pattern', $value);
672
}
673
674
/**
675
 * @link https://html.spec.whatwg.org/multipage/links.html#ping
676
 */
677
function ping(string $value) : Attribute
678
{
679 1
    return new Attribute('ping', $value);
680
}
681
682
/**
683
 * @link https://html.spec.whatwg.org/#attr-textarea-placeholder
684
 */
685
function placeholder(string $value) : Attribute
686
{
687 1
    return new Attribute('placeholder', $value);
688
}
689
690
/**
691
 * @link https://html.spec.whatwg.org/#attr-video-playsinline
692
 */
693
function playsinline(string $value) : Attribute
694
{
695 1
    return new Attribute('playsinline', $value);
696
}
697
698
/**
699
 * @link https://html.spec.whatwg.org/#attr-video-poster
700
 */
701
function poster(string $value) : Attribute
702
{
703 1
    return new Attribute('poster', $value);
704
}
705
706
/**
707
 * @link https://html.spec.whatwg.org/#attr-media-preload
708
 */
709
function preload(string $value) : Attribute
710
{
711 1
    return new Attribute('preload', $value);
712
}
713
714
/**
715
 * @link https://html.spec.whatwg.org/#attr-textarea-readonly
716
 */
717
function readonly(string $value) : Attribute
718
{
719 1
    return new Attribute('readonly', $value);
720
}
721
722
/**
723
 * @link https://html.spec.whatwg.org/#attr-hyperlink-referrerpolicy
724
 */
725
function referrerpolicy(string $value) : Attribute
726
{
727 1
    return new Attribute('referrerpolicy', $value);
728
}
729
730
/**
731
 * @link https://html.spec.whatwg.org/#attr-hyperlink-rel
732
 */
733
function rel(string $value) : Attribute
734
{
735 1
    return new Attribute('rel', $value);
736
}
737
738
/**
739
 * @link https://html.spec.whatwg.org/#attr-input-required
740
 */
741
function required(string $value) : Attribute
742
{
743 1
    return new Attribute('required', $value);
744
}
745
746
/**
747
 * @link https://html.spec.whatwg.org/#attr-ol-reversed
748
 */
749
function reversed(string $value) : Attribute
750
{
751 1
    return new Attribute('reversed', $value);
752
}
753
754
/**
755
 * @link https://html.spec.whatwg.org/#attr-textarea-rows
756
 */
757
function rows(string $value) : Attribute
758
{
759 1
    return new Attribute('rows', $value);
760
}
761
762
/**
763
 * @link https://html.spec.whatwg.org/#attr-tdth-rowspan
764
 */
765
function rowspan(string $value) : Attribute
766
{
767 1
    return new Attribute('rowspan', $value);
768
}
769
770
/**
771
 * @link https://html.spec.whatwg.org/#attr-iframe-sandbox
772
 */
773
function sandbox(string $value) : Attribute
774
{
775 1
    return new Attribute('sandbox', $value);
776
}
777
778
/**
779
 * @link https://html.spec.whatwg.org/#attr-th-scope
780
 */
781
function scope(string $value) : Attribute
782
{
783 1
    return new Attribute('scope', $value);
784
}
785
786
/**
787
 * @link https://html.spec.whatwg.org/#attr-option-selected
788
 */
789
function selected(string $value) : Attribute
790
{
791 1
    return new Attribute('selected', $value);
792
}
793
794
/**
795
 * @link https://html.spec.whatwg.org/#attr-area-shape
796
 */
797
function shape(string $value) : Attribute
798
{
799 1
    return new Attribute('shape', $value);
800
}
801
802
/**
803
 * @link https://html.spec.whatwg.org/#attr-select-size
804
 */
805
function size(string $value) : Attribute
806
{
807 1
    return new Attribute('size', $value);
808
}
809
810
/**
811
 * @link https://html.spec.whatwg.org/#attr-source-sizes
812
 */
813
function sizes(string $value) : Attribute
814
{
815 1
    return new Attribute('sizes', $value);
816
}
817
818
/**
819
 * @link https://html.spec.whatwg.org/#attr-slot
820
 */
821
function slot_(string $value) : Attribute
822
{
823 1
    return new Attribute('slot', $value);
824
}
825
826
/**
827
 * @link https://html.spec.whatwg.org/#attr-colgroup-span
828
 */
829
function span_(string $value) : Attribute
830
{
831 1
    return new Attribute('span', $value);
832
}
833
834
/**
835
 * @link https://html.spec.whatwg.org/#attr-spellcheck
836
 */
837
function spellcheck(string $value) : Attribute
838
{
839 1
    return new Attribute('spellcheck', $value);
840
}
841
842
/**
843
 * @link https://html.spec.whatwg.org/#attr-media-src
844
 */
845
function src(string $value) : Attribute
846
{
847 1
    return new Attribute('src', $value);
848
}
849
850
/**
851
 * @link https://html.spec.whatwg.org/#attr-iframe-srcdoc
852
 */
853
function srcdoc(string $value) : Attribute
854
{
855 1
    return new Attribute('srcdoc', $value);
856
}
857
858
/**
859
 * @link https://html.spec.whatwg.org/#attr-track-srclang
860
 */
861
function srclang(string $value) : Attribute
862
{
863 1
    return new Attribute('srclang', $value);
864
}
865
866
/**
867
 * @link https://html.spec.whatwg.org/#attr-img-srcset
868
 */
869
function srcset(string $value) : Attribute
870
{
871 1
    return new Attribute('srcset', $value);
872
}
873
874
/**
875
 * @link https://html.spec.whatwg.org/#attr-ol-start
876
 */
877
function start(string $value) : Attribute
878
{
879 1
    return new Attribute('start', $value);
880
}
881
882
/**
883
 * @link https://html.spec.whatwg.org/#attr-input-step
884
 */
885
function step(string $value) : Attribute
886
{
887 1
    return new Attribute('step', $value);
888
}
889
890
/**
891
 * @link https://html.spec.whatwg.org/#the-style-attribute
892
 */
893
function style_(string $value) : Attribute
894
{
895 1
    return new Attribute('style', $value);
896
}
897
898
/**
899
 * @link https://html.spec.whatwg.org/#attr-tabindex
900
 */
901
function tabindex(string $value) : Attribute
902
{
903 1
    return new Attribute('tabindex', $value);
904
}
905
906
/**
907
 * @link https://html.spec.whatwg.org/#attr-hyperlink-target
908
 */
909
function target(string $value) : Attribute
910
{
911 1
    return new Attribute('target', $value);
912
}
913
914
/**
915
 * @link https://html.spec.whatwg.org/#attr-title
916
 */
917
function title_(string $value) : Attribute
918
{
919 1
    return new Attribute('title', $value);
920
}
921
922
/**
923
 * @link https://html.spec.whatwg.org/#the-translate-attribute
924
 */
925
function translate(string $value) : Attribute
926
{
927 1
    return new Attribute('translate', $value);
928
}
929
930
/**
931
 * @link https://html.spec.whatwg.org/#attr-source-type
932
 */
933
function type(string $value) : Attribute
934
{
935 1
    return new Attribute('type', $value);
936
}
937
938
/**
939
 * @link https://html.spec.whatwg.org/#attr-object-typemustmatch
940
 */
941
function typemustmatch(string $value) : Attribute
942
{
943 1
    return new Attribute('typemustmatch', $value);
944
}
945
946
/**
947
 * @link https://html.spec.whatwg.org/#attr-link-updateviacache
948
 */
949
function updateviacache(string $value) : Attribute
950
{
951 1
    return new Attribute('updateviacache', $value);
952
}
953
954
/**
955
 * @link https://html.spec.whatwg.org/#attr-hyperlink-usemap
956
 */
957
function usemap(string $value) : Attribute
958
{
959 1
    return new Attribute('usemap', $value);
960
}
961
962
/**
963
 * @link https://html.spec.whatwg.org/#attr-input-value
964
 */
965
function value(string $value) : Attribute
966
{
967 1
    return new Attribute('value', $value);
968
}
969
970
/**
971
 * @link https://html.spec.whatwg.org/#attr-dim-width
972
 */
973
function width(string $value) : Attribute
974
{
975 1
    return new Attribute('width', $value);
976
}
977
978
/**
979
 * @link https://html.spec.whatwg.org/#attr-link-workertype
980
 */
981
function workertype(string $value) : Attribute
982
{
983 1
    return new Attribute('workertype', $value);
984
}
985
986
/**
987
 * @link https://html.spec.whatwg.org/#attr-textarea-wrap
988
 */
989
function wrap(string $value) : Attribute
990
{
991 1
    return new Attribute('wrap', $value);
992
}
993