The following HTML code shows an Example of using Font Tag in HTML.
Basically, the <font> tag specifies the font size, font face, and font color. Accordingly, it has the attributes like size, face, and color to change these aspects of the font. However, it is an HTML 4 tag. Therefore, HTML 5 doesn’t support it. Instead we need to use the style attribute with HTML 5.
<html>
<head>
<title>Font Tag Example</title>
</head>
<body>
<center><h1>Font Tag Demo</h1></center>
<div>
<p><font size="1" face="Arial" color="#fd1122">programmingempire.com</font></p>
<p><font size="2" face="Serif" color="#aa4488">programmingempire.com</font></p>
<p><font size="3" face="courier" color="#1123d2">programmingempire.com</font></p>
<p><font size="4" face="Arial Black" color="#44dd55">programmingempire.com</font></p>
<p><font size="5" face="Times New Roman" color="#ff5533">programmingempire.com</font></p>
<p><font size="6" face="Comic Sans MS" color="#1212dd">programmingempire.com</font></p>
<p><font size="7" face="Forte" color="#aa5511">programmingempire.com</font></p>
<p><font size="8" face="Verdana" color="#9122aa">programmingempire.com</font></p>
</div>
</body>
</html>
Output

Further Reading
Introduction to Django Framework and its Features
Examples of Array Functions in PHP
Registration Form Using PDO in PHP
Inserting Information from Multiple CheckBox Selection in a Database Table in PHP
- Angular
- ASP.NET
- C
- C#
- C++
- CSS
- Dot Net Framework
- HTML
- IoT
- Java
- JavaScript
- Kotlin
- PHP
- Power Bi
- Python
- Scratch 3.0
- TypeScript
- VB.NET
