HTML font Tag- Tutorialpath

HTML <font> Tag

What is font tag

The fonts tag play important role in web page to create attractive and readable web page.

The font tag is used to change the color, size and style of text. The base font tag is used to set all the text to same size, color and face.

 

The font tag has basically three attributes which are given below:

  • Size
  • Face/Type
  • Color

Font Size: This attribute is used to adjust the size of text in the HTML document using font tag with size attribute. The range of size of font in HTML is from 1 to 7 and default size is 3.

Example:

html_font
html_font

Output:

style_font
style_font

One thought on “HTML font Tag- Tutorialpath

Leave a Reply

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