top of page
-
Introduction
-
Types of HTML Tags
-
HTML Document & It's different Sections
-
Requirement of HTML
-
Basic tags used in any HTML document
-
Heading Tag
-
Line Break Tag & Section Separator Tag
-
Paragraph, Bold, Italic & Underline Tag
-
Big, Small, Marquee, Subscript & Superscript Tag
-
Teletype & Strike Tag
-
Tag Attribute with Examples
-
Font Tag
-
Table Tag
-
List Tag (OL, UL & DL Tag)
-
Form Tag
-
Image Tag
-
HTML 5 Input Types
-
DHTML
-
XML
HTML
FONT TAG
-
The font tag is used to change the color, size and face of the text in an HTML document.
-
Font tag has following attributes:-
-
Face
-
Color
-
Size
Face:​
-
This attribute allows the user to change the face of the text in an HTML document.
-
Example:- Arial Black, Broadway, Verdana, etc.
Color:​
-
This attribute allows the user to change the color of the text present in HTML document.
-
Example:- blue, green, pink, red, etc.
Size:
-
This attribute allows the user to change the size of the text in HTML document.
-
syntax:-
<FONT face=”font_list” color=”color” size=”font_size”>
.
.
.
</FONT>
-
Example:-
<html>
<head>
<title>FONT TAG</title>
</head>
<body>
<font face=”Arial Black” color=”red” size=”4” >
Font Tag Example
</font>
</body>
</html>
​
OUTPUT:
​
Related Topics
-
Introduction
-
Types of HTML Tags
-
HTML Document & It's different Sections
-
Requirement of HTML
-
Basic tags used in any HTML document
-
Heading Tag
-
Line Break Tag & Section Separator Tag
-
Paragraph, Bold, Italic & Underline Tag
-
Big, Small, Marquee, Subscript & Superscript Tag
-
Teletype & Strike Tag
-
Tag Attribute with Examples
-
Font Tag
-
Table Tag
-
List Tag (OL, UL & DL Tag)
-
Form Tag
-
Image Tag
-
HTML 5 Input Types
-
DHTML
-
XML
bottom of page