summaryrefslogtreecommitdiffstats
path: root/test/bad-html.html
blob: 8c0b9dc130495b7e690111392e276ec13697506d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Examples of "Bad HTML" per Lynx</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK REV="made" HREF="mailto:lynx-dev@nongnu.org">
<LINK REV="owner" HREF="http://mail.gnu.org/mailman/listinfo/lynx-dev/">
</HEAD>

<BODY> 
<h2>Unterminated TEXTAREA</h2>
<form action="http://localhost/cgi-bin/bogus-parms" method="get">
<textarea name="50cols" cols="50" rows=3>
This is not empty.
</textarea>
<br>
<textarea name="50percent" cols="50%" rows=3>
This seems to have a button.
<button>Button 1</button>
</textarea>
<hr>
<input type="submit" value="Submit this form">
<br>
<input type="reset" value="Reset this form">
</form>

<h2>Unterminated SELECT</h2>
<select>
<option>first option</option>
<option>second option</option>
<option>third option</option>
</notselect>
<br>
<select>
<option>first option</option>
<option>second option</option>
<option>third option</option>
</select>

<h2>OPTION not within SELECT</h2>
<option>third option</option>

<h2>TEXTAREA ending without starting</h2>
</textarea>

</BODY>