how to change font and color in 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: how to give color to text in html

HTML color to text
<body>
  <p style="color:#FF0000";>Red paragraph text</p>
</body>

Example 3: how to change font color in html

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

Example 4: html how to change text color

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

Example 5: font tag html

Not Supported in HTML 5 | Support till HTML 4
<font color="red" face="Verdana, Geneva, sans-serif" size="+1">
  Your formatted text goes here
</font>

Example 6: how to change font in html

<font face="yourfont">
  
  Lorem Ipsum
  
</font>

Tags:

Php Example