Friday 20 July 2012

How to Set the style of the font in css


<!DOCTYPE html>
<html>
<head>
<style type="text/css">
p.normal {font-style:normal;}
p.italic {font-style:italic;}
p.oblique {font-style:oblique;}
</style>
</head>

<body>
<p class="normal">This is a normal.</p>
<p class="italic">This is  italic.</p>
<p class="oblique">This is oblique.</p>
</body>

</html>

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

Post a Comment