Make text italic using CSS

Explanation

To make text italic using CSS, specify italic or oblique for the font-style property.

Sample Code [Output]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<title>Sample</title>
<style type="text/css"><!--
.sign {
font-style:italic;
}
--></style>
</head>
<body>
<h1>Sample</h1>
<p>
You can make text <span class="sign">italic</span> using CSS.
</p>
</body>
</html>