A html example that set font size from css
<!DOCTYPE html><html>
<head>
<title>Font Size</title>
<style type="text/css">
body {
font-family: Arial, Verdana, sans-serif;
font-size: 12px;}
h1 {
font-size: 200%;}
h2 {
font-size: 1.3em;}
</style>
</head>
<body>
<h1>Briards</h1>
<p class="credits">by Ivy Duckett</p>
<p class="intro">The <a class="breed"
href="http://en.wikipedia.org/wiki/Briard">briard</a>, or berger de brie, is a large breed
of dog traditionally used as a herder and guardian of sheep.</p>
<h2>Breed History</h2>
<p>The briard, which is believed to have originated in France, has been bred
for centuries to herd and to protect sheep. The breed was used by the French Army as
sentries, messengers and to search for wounded soldiers because of its fine sense of
hearing. Briards were used in the First World War almost to the point of extinction.
Currently the population of briards is slowly recovering. Charlemagne, Napoleon, Thomas
Jefferson and Lafayette all owned briards.</p>
</body>
</html>
0 comments:
Post a Comment