Share
Font, Color and Size
The font-family, color, and font-size properties defines the font, color, and size of the text in an element:
Example:
<html>
<body>
<h1 style="font-family:verdana">A heading</h1>
<p style="font-family:arial;color:red;font-size:20px;">
A paragraph.</p>
</body>
</html>
The style attribute makes the old <font> tag obsolete.