| 1 |
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 3.0//EN"> |
| 2 |
<HTML> |
| 3 |
<HEAD> |
| 4 |
<TITLE>Examples of "Bad HTML" per Lynx</TITLE> |
| 5 |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> |
| 6 |
<LINK REL="author" HREF="mailto:[email protected]"> |
| 7 |
<LINK REL="alternate" HREF="http://mail.gnu.org/mailman/listinfo/lynx-dev/"> |
| 8 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 9 |
</HEAD> |
| 10 |
|
| 11 |
<BODY> |
| 12 |
<h2>Unterminated TEXTAREA</h2> |
| 13 |
<form action="http://localhost/cgi-bin/bogus-parms" method="get"> |
| 14 |
<textarea name="50cols" cols="50" rows="3"> |
| 15 |
This is not empty. |
| 16 |
</textarea> |
| 17 |
<br> |
| 18 |
<textarea name="50percent" cols="50%" rows="3"> |
| 19 |
This seems to have a button. |
| 20 |
<button>Button 1</button> |
| 21 |
</textarea> |
| 22 |
<hr> |
| 23 |
<input type="submit" value="Submit this form"> |
| 24 |
<br> |
| 25 |
<input type="reset" value="Reset this form"> |
| 26 |
</form> |
| 27 |
|
| 28 |
<h2>Unterminated SELECT</h2> |
| 29 |
<select> |
| 30 |
<option>first option</option> |
| 31 |
<option>second option</option> |
| 32 |
<option>third option</option> |
| 33 |
</notselect> |
| 34 |
<br> |
| 35 |
<select> |
| 36 |
<option>first option</option> |
| 37 |
<option>second option</option> |
| 38 |
<option>third option</option> |
| 39 |
</select> |
| 40 |
|
| 41 |
<h2>OPTION not within SELECT</h2> |
| 42 |
<option>third option</option> |
| 43 |
|
| 44 |
<h2>TEXTAREA ending without starting</h2> |
| 45 |
</textarea> |
| 46 |
|
| 47 |
</BODY> |