XHTML and CSS Tutorial - 18 - font-weight & font-style

<!DOCTYPE html PUBLIC” -//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml/DTD/xhtmll-transitional.dtd>
<html>

<head>
<style type ="text/css">
ul {font-weight:bold;}
ol {font-style:italic;}
</style>
</head>

<body>
<ul>
<li>unordered list</li>
</ul>
<ol>
<li>ordered list</li>
</ol>
</body>
</html>

Comments