Font Color

The color property defines the text color to be used for any HTML element:

HTML file: Displayed by browser:
<h1 style="color:blue;">This is a heading</h1>
<p style="color:grey;">This is a paragraph.</p>

This is a heading

This is a paragraph.


Back buttonTable of ContentsNext button