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