<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> |