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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
|
Compiling program test019
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Hello World!</title>
<meta name="generator" value="KayHTML">
<link rev="author" href="mailto:author@example.invalid">
<link rel="stylesheet" href="http://www.example.com/styles.css" type="text/css" media="screen,projection">
</head>
<body>
<h1 class="first">Hello World!</h1>
<p>This is <a href="http://www.w3.org/TR/html4/">a <em>simple</em> HTML document</a>. It can also include special characters such as α, α, α or α.</p>
<ol>
<li>First list item</li>
<li>Second list item</li>
<li>Third list item</li>
<li>3.5th list item<img src="http://www.example.com/image.png" alt="(NEW!)" width="15" height="10">
<br><small>This item's text should be renumbered</small></li>
<li><strong>Fourth</strong> list item
<ul>
<li>4a</li>
<li>4b</li>
</ul>
</li>
<li>Fifth list item</li>
</ol>
<table>
<caption>Table 1: Fish population 1989-1990</caption>
<thead>
<tr>
<th>Year</th>
<th>Population</th>
</tr>
</thead>
<tbody>
<tr>
<td>1989</td>
<td>312</td>
</tr>
<tr>
<td>1990</td>
<td>304</td>
</tr>
</tbody>
</table>
<table>
<caption>Table 2: River Depth 1989-1990</caption>
<thead>
<tr>
<th>Year</th>
<th>Average River Depth (m)</th>
</tr>
</thead>
<tbody>
<tr>
<td>1989</td>
<td>2.7</td>
</tr>
<tr>
<td>1990</td>
<td>2.6</td>
</tr>
</tbody>
</table>
<form action="test019.cgi" method="post">
<fieldset>
<legend>Personal information</legend>
<div><label for="Kay1">Your name:</label><input name="name" value="" type="text" size="30" id="Kay1"></div>
<div><label for="Kay2">Your email:</label><input name="email" value="" type="text" size="30" id="Kay2"></div>
<div><label for="Kay3">Your password:</label><input name="pwd" value="" type="password" size="30" id="Kay3"></div>
</fieldset>
<fieldset>
<legend>Mailing lists to subscribe to</legend>
<div><input name="mlists" value="kd" type="checkbox" id="Kay4"><label for="Kay4">kaya-devel@compsoc.dur.ac.uk</label></div>
<div><input name="mlists" value="hh" type="checkbox" checked="checked" id="Kay5"><label for="Kay5">html-help@example.org.invalid</label></div>
<div><input name="mlists" value="bugs" type="checkbox" checked="checked" id="Kay6"><label for="Kay6">bugs@example.net.invalid</label></div>
<div><label for="Kay7">Are there any other mailing lists you think we should include?</label>
<br>
<textarea name="othermls" rows="5" cols="40" id="Kay7"></textarea>
</div>
</fieldset>
<fieldset>
<legend>Terms and conditions</legend>
<select name="tac">
<option value="done">I have already agreed to the T&Cs</option>
<optgroup label="Selective agreement to T&Cs">
<option value="min" label="Minimum only">Selective agreement to T&Cs: Minimum only</option>
<option value="vcc" label="Minimum and voluntary code of conduct">Selective agreement to T&Cs: Minimum and voluntary code of conduct</option>
<option value="pcd" label="Minimum and public contact details">Selective agreement to T&Cs: Minimum and public contact details</option>
</optgroup>
<option value="all" selected="selected">I agree to all T&Cs</option>
</select><input type="submit" value="Register"></fieldset>
</form>
<hr>
<address>Email author@example.invalid to contact the author</address>
</body>
</html>
|