CSS
Cascading Style Sheet
This property sets the styles of a font to normal, oblique, or italic. This can also be done by using a specific font (for example, Times New Roman Italic). It also allows control of style across font families.
Example
<html>
<head>
<title>Skillpundit</title>
<style type="text/css"> .text1
{
font-style: normal;
}
.text2
{
font-style: oblique;
}
.text3
{
font-style: italic;
}
</style> </head>
<body>
<span class="text1">www.skillpundit.com</span>
</br> <span class="text2">www.skillpundit.com</span>
</br><span class="text3">www.skillpundit.com</span>
</body> </html>
<head>
<title>Skillpundit</title>
<style type="text/css"> .text1
{
font-style: normal;
}
.text2
{
font-style: oblique;
}
.text3
{
font-style: italic;
}
</style> </head>
<body>
<span class="text1">www.skillpundit.com</span>
</br> <span class="text2">www.skillpundit.com</span>
</br><span class="text3">www.skillpundit.com</span>
</body> </html>
Output