|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
|
2 <META http-equiv="Content-Type" content="text/html; charset = us-ascii> |
|
3 |
|
4 <title>test 1 - all tags</title> |
|
5 |
|
6 block level tags: |
|
7 <p align= center>this text is centred |
|
8 <pre>pre tag (should cancel alignment) |
|
9 |
|
10 <p align=right>this text is right aligned |
|
11 <div>div tag (should cancel alignment) |
|
12 |
|
13 here's the blockquote tag: |
|
14 <blockquote>They went in single file, running like hounds on a strong scent, and an |
|
15 eager light was in their eyes. Nearly due west the broad swath of the marching Orcs |
|
16 tramped its ugly slot; the sweet grass of Rohan had been bruised and blackened as |
|
17 they passed. |
|
18 <p><i>from "The Two Towers" by J.R.R. Tolkien</I> |
|
19 </blockquote> |
|
20 end of blockquote tag |
|
21 |
|
22 <p>here's the center tag: |
|
23 <center>centred text</center> |
|
24 end of center tag |
|
25 |
|
26 <p>text with a<br>br tag |
|
27 |
|
28 <p>here's the headings 1-6: |
|
29 <h1>h1</h1> |
|
30 <h2>h2</h2> |
|
31 <h3 align = center>h3 with center alignment</h3> |
|
32 <h4>h4</h4> |
|
33 <h5>h5</h5> |
|
34 <h6>h6</h6> |
|
35 end of the headings |
|
36 |
|
37 <p>formatted text tags: |
|
38 <p><b>bold</b> normal |
|
39 <i>italics</i> normal |
|
40 <u>underline</u> normal |
|
41 <em>emphasis</em> normal |
|
42 <strong>strong</strong> normal |
|
43 <sub>subscript</sub> normal |
|
44 <sup>superscript</sup> normal |
|
45 <strike>strikethrough</strike> normal |
|
46 <dfn>dfn</dfn> normal |
|
47 <var>var</var> normal |
|
48 <cite>cite</cite> normal |
|
49 <p><i>italics <b>and bold <u>and underline</u> just bold and italics</b> and just italics</i> normal |
|
50 |
|
51 <p>here's a table: |
|
52 <table BORDER="2" ALIGN="left" CELLPADDING="5" BORDERCOLOR="#ff0000" WIDTH="75%"> |
|
53 <caption ALIGN="top">table caption</caption> |
|
54 <tr> <th>table header row 1</th> <th>table header row 1</th></tr> |
|
55 <tr> <td>table data row 2</td> <td>table data row 2</td></tr> |
|
56 <tr> <td>table data row 3</td> <td>table data row 3</td></tr> |
|
57 </table> |
|
58 |
|
59 <p>unordered list: |
|
60 <ul TYPE="square"> |
|
61 <li>unordered list item 1 |
|
62 <li>unordered list item 2 |
|
63 <li>unordered list item 3 |
|
64 </ul> |
|
65 |
|
66 <p>ordered list: |
|
67 <ol TYPE="A" START="3"> |
|
68 <li>ordered list item 1 |
|
69 <li>ordered list item 2 |
|
70 <li>ordered list item 3 |
|
71 </ol> |
|
72 |
|
73 <p>definition list: |
|
74 <DL> |
|
75 <DT>Term 1<dd>This is the definition of the first term. |
|
76 <DT>Term 2<dd>This is the definition of the second term. |
|
77 </DL> |
|
78 |
|
79 <p>here's the form tag (contents should be ignored): |
|
80 <form METHOD="get" ACTION="http://hoohoo.ncsa.uiuc.edu/htbin/query" ENCTYPE="application/x-www-form-urlencoded"> |
|
81 all contents of the form tag should be ignored |
|
82 <input TYPE="password" NAME="foo"> |
|
83 </form> |
|
84 and the end of the form tag |
|
85 |
|
86 <p>here's the IMG tag: |
|
87 |
|
88 <p><img src=URL alt=description> src then alt |
|
89 <p><img alt=description src=URL> alt then src |
|
90 <p><img src=URL> src only |
|
91 |
|
92 <p>here's the A tag |
|
93 <a href = "www.link.com">the link</a> end of A tag |
|
94 |
|
95 <p>the following tags are not recognised: |
|
96 <html> html |
|
97 <style> style |
|
98 <script> script |
|
99 <isindex> isindex |
|
100 <base> base |
|
101 <meta> meta |
|
102 <link> link |
|
103 <head> head |
|
104 <body> body |
|
105 <address> address |
|
106 <dir> dir |
|
107 <menu> menu |
|
108 <input> input |
|
109 <select> select |
|
110 <option> option |
|
111 <textarea> textarea |
|
112 <applet> applet |
|
113 <font> font |
|
114 <basefont> basefont |
|
115 <map> map |
|
116 <area> area |
|
117 <tt> tt |
|
118 <big> big |
|
119 <small> small |
|
120 <code> code |
|
121 <samp> samp |
|
122 <kbd> kbd |
|
123 |
|
124 <p><!--javascript - should <b>be <i>ignored--> |
|
125 |
|
126 <p align = "right">new paragraph right aligned |
|
127 </html> |