Tuesday, August 20, 2013

CSS text font variant

<html>
<head>
<style type="text/css">
p.normal {font-variant:normal}
p.small {font-variant:small-caps}
</style>
</head>

<body>
<p class="normal">Bangladesh is our Motherland.</p>
<p class="small">Bangladesh is our Motherland.</p>
</body>

</html>

Result


No comments: