42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<!-- test case: tables_id.html -->
|
|
<!-- description: HTML 4.0 TABLE element/ID 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 ID attribute of the TABLE element tag-->
|
|
<!-- Expected result: Two tables should be displayed. One table should be lime and the other table should not have a color value -->
|
|
<title>table_id</title>
|
|
<style type="text/css">
|
|
#xyz12 { background: lime }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table id=xyz12 border=1>
|
|
<tr>
|
|
<td>Here is a table with a lime background using the ID attribute.
|
|
</td>
|
|
<td>Here is a table with a lime background using the ID attribute.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
<br>
|
|
<table border=1>
|
|
<tr>
|
|
<td>Here is a table with no ID attribute value.
|
|
</td>
|
|
<td>Here is a table with no ID attribute value.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|