You can add colour to the text in HTML by using the following code:
<!DOCTYPE html>
<html>
<body>
<h2>HTML Color Text Example</h2>
<h1 style=”color: Red”>Hello HTML</h1>
<p style=”color: Blue”>Line 1</p>
<p style=”color: Green”>Line 2</p>
</body>
</html>
Leave a Reply