HTML Font

By Prof. Fazal Rehman Shamil
Last modified on April 13th, 2020

What is the font?

The font is a set of displayable or printable text with a proper style.

How to put the font in HTML?

Download Full Code

Starting : <font>     

Closing: </font>

 

font in html

Output:

font tag in html

Explanation:

In statement 3 font is the HTML tag.  It is important to know that tags can have different properties/attributes. In this example

  • font and size are the attributes of the font
  • The font is the tag
  • color and size are the attributes/ properties of the font tag
  • red is the value of the color attribute
  • 4 is the value of size attribute

 

Video Lecture

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.