Debian Codegraph @

fixtures/input.html

raw
1 <html>
2 <body>
3 <form
4 action="javascript:void(0)"
5 onsubmit="this.setAttribute('event', 'submit')"
6 >
7 <input
8 type="text"
9 onchange="this.setAttribute('event', 'input-change')"
10 />
11
12 <hr />
13
14 <input
15 type="date"
16 onchange="this.setAttribute('event', 'input-date-change')"
17 />
18
19 <hr />
20
21 <input
22 type="datetime-local"
23 onchange="this.setAttribute('event', 'input-datetime-local-change')"
24 />
25
26 <hr />
27
28 <input
29 type="time"
30 onchange="this.setAttribute('event', 'input-time-change')"
31 />
32
33 <hr />
34
35 <input
36 type="month"
37 onchange="this.setAttribute('event', 'input-month-change')"
38 />
39
40 <hr />
41
42 <select multiple>
43 <option value="a">A</option>
44 <option value="b">B</option>
45 <option value="c">C</option>
46 <option value="c">CC</option>
47 </select>
48
49 <hr />
50
51 <textarea
52 onchange="this.setAttribute('event', 'textarea-change')"
53 cols="30"
54 rows="10"
55 ></textarea>
56
57 <hr />
58
59 <div contenteditable="true"></div>
60
61 <hr />
62
63 <input type="file" name="files" multiple />
64
65 <hr />
66
67 <label>
68 <input type="checkbox" />
69 checkbox
70 </label>
71
72 <hr />
73
74 <input
75 id="blur"
76 type="text"
77 placeholder="placeholder"
78 onblur="this.setAttribute('a', 'ok')"
79 />
80
81 <hr />
82
83 <input
84 type="color"
85 onchange="this.setAttribute('event', 'input-color-change')"
86 />
87
88 <hr />
89
90 <button type="button" id="EnabledButton">Enabled Button</button>
91
92 <button type="button" id="DisabledButton" disabled>
93 Disabled Button
94 </button>
95
96 <hr />
97
98 <input type="submit" value="submit" />
99 </form>
100 </body>
101 </html>