gecko/layout/html/tests/table/bugs/bug10216.html

43 lines
1.2 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title>caption element: align attribute</title>
</head>
<body>
<h1>caption element: align attribute</h1>
<table border>
<caption>The table's caption, with no align. Default is "top".</caption>
<tr><td>Data</td><td>Data</td></tr>
<tr><td>Data</td><td>Data</td></tr>
</table>
<table border>
<caption align="top">The table's caption, with align="top".</caption>
<tr><td>Data</td><td>Data</td></tr>
<tr><td>Data</td><td>Data</td></tr>
</table>
<table border>
<caption align="bottom">The table's caption, with align="bottom".</caption>
<tr><td>Data</td><td>Data</td></tr>
<tr><td>Data</td><td>Data</td></tr>
</table>
<table border>
<caption align="left">The table's caption, with align="left".</caption>
<tr><td>Data</td><td>Data</td></tr>
<tr><td>Data</td><td>Data</td></tr>
</table>
<table border>
<caption align="right">The table's caption, with align="right".</caption>
<tr><td>Data</td><td>Data</td></tr>
<tr><td>Data</td><td>Data</td></tr>
</table>
</body>
</html>