Sunday, April 2, 2017

HTML Text Color

The color property defines the text color for an HTML element:

<!DOCTYPE html>
<html>
<body>

<h1 style="color:blue;">This is a heading</h1>
<p style="color:red;">This is a paragraph.</p>

</body>

</html>



No comments:
Write comments

Recommended Posts × +