html set font code example

Example 1: html font size

<span style="font-size:20px;"></span>

Example 2: make text blue html

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

Example 3: html how to change text color

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

Example 4: 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 5: how to change font in html

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

Example 6: how to change font in html

<font face="yourfont">

  Lorem Ipsum
  
</font>

Tags:

Html Example