cthulhu/test/html/table-caption.html

20 lines
541 B
HTML

<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>a test page</title>
</head><body text="yellow" bgcolor="black">
<p>Below is a table, with some sample table data</p>
<table width="100%">
<caption>this is a caption for this table</caption>
<thead>
<tr><th>col1</th><th>col2</th><th>col3</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>2</td><td>3</td></tr>
<tr><td>4</td><td>5</td><td>6</td></tr>
<tr><td>7</td><td>8</td><td>9</td></tr>
</tbody></table>
<p>hope the table looks pretty</p>
</body></html>