add colour in html text code example
Example 1: how to color in html
<h1 style="color: red;">Hello</h1>
Example 2: how to give color to text in html
HTML color to text
<body>
<p style="color:#FF0000";>Red paragraph text</p>
</body>
<h1 style="color: red;">Hello</h1>
HTML color to text
<body>
<p style="color:#FF0000";>Red paragraph text</p>
</body>