HTML <font> Tag (not supported in HTML5).

The use of the HTML <font> Tag defines the text within it as size, color, and face, or text in HTML output.

Note:- Do not use the HTML <tag> Tag because it is deprecated in HTML5, so you can use the CSS properties to change the font size, face, color, etc.


<!DOCTYPE html>
  <meta charset="utf-8">
  <title>HTML font Tag</title>

  <h1>HTML font Tag Example</h1>

  <p>This is normal text without any font styling</p>  
    <font color="blue">Text with normal size and default face</font>  
    <font size="5" color="green">Text with Increased size and default face</font>  
    <font color="red" face="cursive">Text with Changed face</font>  


Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *