Font tag to manage type of font in html code
Read the basic of html font tag here. Font face can be set to display any style of the font for the text. We can set different font face to different part of a same line of text. Note that the type of font we set in font face has to be available in client computer.
Deprecated : FONT tag and its attributes are not supported in HTML5 ,
Here is one example of font face with size and color attributes .
better to use styling using CSS.
Now here it is how it will appear.
This is simple Here are some examples with different font face used inside font tag
Using CSS for Font familyWe can define font styling by using inline font style, internal font style and external font style.This is Inline font style using Comic Sans MS Code is here.
More on using Font style with internal and external CSSIt is better to avoid using Font Tag in html pages as support for this tag can be removed any time. We can use font styling by using CSS.
This article is written by plus2net.com team.
![]() | ||||||||||||||
| ||||||||||||||