Sunday, August 18, 2013

CSS font style

<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">The Sky is blue, normal.</p>
<p class="italic">The Sky is blue, italic.</p>
<p class="oblique">The Sky is blue, oblique.</p>
</body>

</html>

Result


No comments: