Set font size to small in HTML and CSS

Description

The following code shows how to set font size to small.

Example


<html>
<head>
<!--from  www. jav a 2 s  .com-->
<style type="text/css">

p {
width: 120px;
margin: 260px 100px 0 170px;
font-family: Verdana, sans-serif;
font-size: small;
font-weight: bold;
}


</style>
</head>
<p>before <a href="more.html">after</a></p
</body>
</html>

Click to view the demo

The code above generates the following result.

Set font size to small in HTML and CSS