how to change font color in html code example

Example 1: how to change the color of the hr tag in html

<style>       
    hr{
        height: 1px;
        background-color: #ccc;
        border: none;
    }
</style>

Example 2: text color html

<!-- If you want a color on a specific text, use this : -->
<p style="color:---"> Text <p>
  
<!-- Here an exemple if you want a blue text-->
<p stlye="color:blue"> Romuald <p>
  
<!-- If you want a specific class in a color, use css, its better-->

Example 3: how to change font color in html

<p style="color: red;">This is paragraph in RED color</p>

Example 4: how to change font color in html

<p style="color: red;">This is paragraph in RED color</p>

Example 5: how to change font color in html

<p style="color: red;">This is paragraph in RED color</p>

Example 6: how to change font color in html

<p style="color: red;">This is paragraph in RED color</p>

Tags:

Php Example