×
FREE ASSISTANCE FOR THE INQUISITIVE PEOPLE
Tutorial Topics
X
softetechnologies
Elements: Link Elements: Comments
Elements: Font - HTML 5
3288    Arnab De    05/05/2017

Introduction

The <font> tag is used for set the customize font style, color and size differently in the different part of the web page. This tag has three attributes called size, color and face.

The Font Size

To change the size of the text in web, we change the value of the size attribute of the <font> tag. The minimum size will be 1 and the maximum size will be 7.

<font size="5">This is a demo text. Its size is 5.</font>

Font Size
Font Size
softetechnologies

The Font Color

We can change the forecolor of the text by changing the value of the color attribute of the <font> tag. We can set the value of the color attribute by any hexcode of the color. We can specify the rgb color format, name of the color or hexadecimal color code.

Font Color
Font Color
Note: Learn HTML Hexcode color.

<font size="5" color="#F00">This is a red colored demo text. </font>

softetechnologies

The Font Face

Face attribute set the font style of the text. If the face name consist more than one word then it should be rite within a double quote("). Otherwise it is not work properly. 

<font size="5" face="monotype corsiva">This is a demo text with monotype corsiva font style. </font>

Font Face
Font Face
Elements: Link Elements: Comments
softetechnologies
Author Details
Arnab De
I have over 16 years of experience working as an IT professional, ranging from teaching at my own institute to being a computer faculty at different leading institute across Kolkata. I also work as a web developer and designer, having worked for renowned companies and brand. Through tutorialathome, I wish to share my years of knowledge with the readers.
Enter New Comment
Comment History
No Comment Found Yet.
Nelson Mandela
An educated, enlightened and informed population is one of the surest ways of promoting the health of a democracy.
Nelson Mandela
1134
64.31
Today So Far
Total View (Lakh)
softetechnologies
26/05/2018     47404
25/06/2018     39491
01/01/2018     39105
28/06/2017     37000
02/08/2017     35725
01/08/2017     29962
06/07/2017     29748
15/05/2017     29229
14/07/2017     25118
11/09/2018     24261
softetechnologies