Friday 20 July 2012

How to Set the boldness of the font in css


<!DOCTYPE html>
<html>
<head>
<style type="text/css">
p.normal {font-weight:normal;}
p.light {font-weight:lighter;}
p.thick {font-weight:bold;}
p.thicker {font-weight:900;}
</style>
</head>

<body>
<p class="normal">paragraph.</p>
<p class="light">paragraph.</p>
<p class="thick">paragraph.</p>
<p class="thicker">paragraph.</p>
</body>

</html>

0 Responses to “How to Set the boldness of the font in css”

Post a Comment