File: form.html

package info (click to toggle)
jericho-html 3.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,568 kB
  • sloc: java: 11,771; jsp: 185; xml: 130; makefile: 8
file content (83 lines) | stat: -rw-r--r-- 2,848 bytes parent folder | download | duplicates (5)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
 <head>
  <title>Personal Details</title>
  <meta name="content-language" content="en" />
  <link rel="stylesheet" type="text/css" href="main.css" />
 </head>
 <body>
  <h1>Personal Details</h1>
  <form name="MyForm" action="/servlet/YourResponseRecorder" method="post">
   <input class="control" type="hidden" name="AuthenticationCode" value="pW5va9LGfxtYJ">
   <table>
    <tr>
     <td>Name:</td>
     <td><input class="control" name="Name" size="40"></td>
    </tr>
    <tr>
     <td>Title:</td>
     <td>
      <select class="control" name="Title" size="1">
       <option value="none" selected>Please select...</option>
       <option>Lord</option>
       <option>Lt General Sir</option>
       <option>Major General</option>
       <option>Professor</option>
       <option>Rt Honourable</option>
       <option>Prime Minister</option>
       <option>Master &amp; Commander</option>
       <option>Grand Poobah</option>
      </select>
     </td>
    </tr>
    <tr>
     <td>Email Address:</td>
     <td><input class="control" type="text" name="Email" size="40" /></td>
    </tr>
    <tr>
     <td>Password:</td>
     <td><input class="control" type="password" name="Password" size="40" value="secret"/></td>
    </tr>
    <tr>
     <td>Member:</td>
     <td><input type="checkbox" name="Member" checked /></td>
    </tr>
    <tr>
     <td>Address:</td>
     <td><textarea class="control" name="Address" rows="4" cols="45"></textarea></td>
    </tr>
    <tr>
     <td>Mailing List Subscriptions:</td>
     <td>
      <input type="checkbox" name="MailingList" value="A"> Announcements<br>
      <input type="checkbox" name="MailingList" value="B"> General<br>
      <input type="checkbox" name="MailingList" value="C"> Cheap Viagra Offers<br>
      <input type="checkbox" name="MailingList" value="D"> Anatomical Enlargements
     </td>
    </tr>
    <tr>
     <td>Favourite Fare:</td>
     <td>
      <input type="radio" name="FavouriteFare" value="spam" checked="checked" /> Spam
      <input type="radio" name="FavouriteFare" value="rhubarb" /> Rhubarb
      <input type="radio" name="FavouriteFare" value="honey" /> Honey
      <input type="radio" name="FavouriteFare" value="rum" /> Rum
     </td>
    </tr>
    <tr>
     <td>Favourite Sports:</td>
     <td>
      <select class="control" name="FavouriteSports" multiple>
       <option value="BB">Baseball
       <option value="CR">Cricket
       <option value="AFL">AFL
       <option value="SOC">Soccer
      </select>
      <div class="instructions">(hold down CTRL key to select multiple items)</div>
     </td>
    </tr>
   </table>
   <p><input type="submit" value="Submit Form" name="button1"/></p>
  </form>
 </body>
</html>