blob: 095e79c80e43cec2b883d1a930f5daf431d494e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<html>
<head>
<title>Elements with boolean attributes</title>
</head>
<body>
<form method="get" action="resultPage.html" name="required">
<input type="text" id="working"/>
<input type="email" id="emailRequired" required/>
<input type="text" id="inputRequired" value="Example text" required=""/>
<textarea id="textAreaRequired" rows="5" cols="5" required="false">Example text</textarea>
<textarea id="emptyTextAreaRequired" rows="5" cols="5" required="required"></textarea>
</form>
<!-- Empty div to test GetAttribute -->
<div id="wallace" class="gromit"></div>
<!-- Div to test boolean attributes -->
<div id="unwrappable" nowrap>Unwrappable text</div>
</body>
</html>
|