booleanAttributes.html 694 B

12345678910111213141516171819
  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 text</textarea>
  11. <textarea id="emptyTextAreaRequired" rows="5" cols="5" required="required"></textarea>
  12. </form>
  13. <!-- Empty div to test GetAttribute -->
  14. <div id="wallace" class="gromit"></div>
  15. <!-- Div to test boolean attributes -->
  16. <div id="unwrappable" nowrap>Unwrappable text</div>
  17. </body>
  18. </html>