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>
This post was written by: Bharathi
Bharthi is a professional blogger, web designer and front end web developer. Follow him on Twitter
Subscribe to:
Post Comments (Atom)
0 Responses to “How to Set the boldness of the font in css”
Post a Comment