change color to text html code example

Example 1: 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 2: html how to change text color

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

Example 3: how to change the font in html

<script>//for typewriter font:</script>

<tt>
  <h1>Example Text</h1
</tt>

Tags:

Html Example