33 lines
1.2 KiB
HTML
33 lines
1.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<!-- test case: tables_class.html -->
|
|
<!-- description: HTML 4.0 TABLE element/CLASS attribute -->
|
|
<!-- Author: Christine Dreckman Date: 1/11/98 -->
|
|
<!-- CONFIDENTIAL AND PROPRIETARY TEST SCRIPT OF NETSCAPE COMMUNICATIONS CORPORATION
|
|
Copyright © 1999 Netscape Communications Corporation. All Rights Reserved. Use of this Test Script is
|
|
subject to the terms of the applicable license agreement from Netscape Communications Corporation -->
|
|
<!-- Purpose: To test the CLASS attribute of the TABLE element tag-->
|
|
<!-- Expected result: A lime table should be displayed above a paragraph with a lime background -->
|
|
<title>table_class</title>
|
|
<style type="text/css">
|
|
.example { background: lime }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table class=example border=1>
|
|
<tr>
|
|
<td>Here is a table using the CLASS attribute. The table should have a lime background.
|
|
</td>
|
|
<td>Here is a table using the CLASS attribute. The table should have a lime background.
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<p class=example>This is a paragraph using the CLASS attribute. The paragraph should have a lime background. This paragraph validates that the CLASS attribute works for multiple elements.</p>
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|