<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Html Annotation Using Class</title>
<link rel="stylesheet" type="text/css" href="PopulationGraph.css"/>
<script type="text/javascript" src="DrawPopulationGraphBars.js"></script>
</head>
<body onload="drawPopulationBars(getPopulationFromClass);">
<h1>Populations of Western English-Speaking Countries</h1>
<p><b>Implementation:</b> Specify population of each country
as a class name in the "class" attribute of each element containing the country's name.</p>
<table id="populationTable">
<tr><td id="australia" class="country population_20000000 another_class">Australia</td></tr>
<tr><td id="canada" class="country population_33000000 another_class">Canada</td></tr>
<tr><td id="ireland" class="country population_4000000 another_class">Ireland</td></tr>
<tr><td id="nz" class="country population_4000000 another_class">New Zealand</td></tr>
<tr><td id="uk" class="country population_61000000 another_class">United Kingdom</td></tr>
<tr><td id="usa" class="country population_298000000">United States of America</td></tr>
</table>
<p><input type="button" value="W3C Validate this page" onclick="w3cValidate();"/> (validates)</p>
</body>
</html>