1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
<head>
	<title>Inheritance Example</title>
	<style type="text/css">
		table.data{ text-align: left; }
	</style>
</head>

<body>
	<table class="data">
		<tbody>
			<tr>
				<th>I should align left!</th>
				<td>But you don't.</td>
			</tr>
			<tr>
				<th>So should I!</th>
				<td>You don't either.</td>
			</tr>
			<tr>
				<th>I'm above the rules.</th>
				<td>No you aren't.</td>
			</tr>
			<tr>
				<th>Yes I am!</th>
				<td>No, you just disobey them.</td>
			</tr>
		</tbody>
	</table>
</body>
</html>