Skip to content

Commit dae9466

Browse files
committed
Button: fix htmllint issues
1 parent 48c7481 commit dae9466

File tree

2 files changed

+21
-22
lines changed

2 files changed

+21
-22
lines changed

demos/button/checkbox.html

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,25 @@
4646
<div class="demo-description">
4747
css for new checkbox widget
4848
</div>
49-
<div class="controls">
50-
<button id="create">Create</button>
51-
<button id="destroy">Destroy</button>
52-
<button id="enable">Enable</button>
53-
<button id="disable">Disable</button>
54-
<button id="refresh">Refresh</button>
55-
<input type="checkbox" id="icon" name="icon"><label for="icon">Icon</label>
56-
<input type="checkbox" id="disabled" name="disabled"><label for="disabled">Disabled</label>
57-
<input type="text" id="label" name="label"><label for="label">Label</label>
58-
</div>
59-
<form>
60-
<input type="checkbox" id="checkbox-1" />
61-
<label for="checkbox-1">Checkbox widget sample</label>
62-
<input type="checkbox" id="checkbox-2" /><label for="checkbox-2">Checkbox widget sample</label>
63-
64-
<input type="radio" id="radio-1" name="radio" checked/>
65-
<label for="radio-1">Radio widget sample</label>
66-
<input type="radio" id="radio-2" name="radio"/><label for="radio-2">Radio widget sample 2</label>
67-
<button type="reset">Reset</button>
68-
</form>
49+
<div class="controls">
50+
<button id="create">Create</button>
51+
<button id="destroy">Destroy</button>
52+
<button id="enable">Enable</button>
53+
<button id="disable">Disable</button>
54+
<button id="refresh">Refresh</button>
55+
<input type="checkbox" id="icon" name="icon"><label for="icon">Icon</label>
56+
<input type="checkbox" id="disabled" name="disabled"><label for="disabled">Disabled</label>
57+
<input type="text" id="label" name="label"><label for="label">Label</label>
6958
</div>
59+
<form>
60+
<input type="checkbox" id="checkbox-1" />
61+
<label for="checkbox-1">Checkbox widget sample</label>
62+
<input type="checkbox" id="checkbox-2" /><label for="checkbox-2">Checkbox widget sample</label>
63+
64+
<input type="radio" id="radio-1" name="radio" checked/>
65+
<label for="radio-1">Radio widget sample</label>
66+
<input type="radio" id="radio-2" name="radio"/><label for="radio-2">Radio widget sample 2</label>
67+
<button type="reset">Reset</button>
68+
</form>
7069
</body>
7170
</html>

demos/button/icons.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@
3434
<p>Some buttons with various combinations of text and icons.</p>
3535
</div>
3636
<div class="widget">
37-
<h1>Widget</h2>
37+
<h1>Widget</h1>
3838
<button>Button with icon only</button>
3939
<button>Button with icon on the left</button>
4040
<button>Button with icon</button>
4141
<button>Button with icon and text</button>
4242
</div>
4343
<div class="css">
44-
<h1>CSS</h2>
44+
<h1>CSS</h1>
4545
<button class="ui-button ui-widget ui-corner-all ui-button-icon-only">
4646
<span class="ui-icon ui-icon-gear"></span>
4747
Button with icon only

0 commit comments

Comments
 (0)