HTML Font Face
HTML Tutorial » HTML Font Face
The font tag is having three attributes called size, color, and face to customize your fonts.
To change any of the font attributes at any time within your webpage, simply use the <font> tag.
The text that follows will remain changed until you close with the <font> tag.
You can change one or all of the font attributes within one <font> tag.
Syntax:
<font face="font_family">
Note:
The face attribute of <font> is not supported in HTML5. Use CSS instead.
CSS syntax: <span style="font-family: arial"> My text here</span>
CSS syntax: <span style="font-family: arial"> My text here</span>
HTML font face - examples
Example: Specify font face of text:
Example 1 HTML font face - examples:
<!DOCTYPE html>
<html>
<head>
<title>HTML Font Face</title>
</head>
<body>
<h1>Tis is an example of HTML Font Face</h1>
<font face="verdana">Nere is my text! with font face verdana </font> <br />
<font face="aria">Nere is my text! with font face arial </font> <br />
<font face="courier">Nere is my text! with font face courier</font><br />
</body>
</html>
Note: Font Face attribute of <font> is not supported in HTML5. Use CSS instead.
CSS syntax: <span style="font-family: courier"> My text here</span>
CSS syntax: <span style="font-family: courier"> My text here</span>
html font face
HTML Font Face - html tutorial
Online Editor
This tool makes it easy to create, adjust, and experiment with custom colors for the web.
HTML Templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.
CSS HTML Layout
Find here examples of creative and unique website layouts.
Free CSS HTML Menu
Find here examples of creative and unique website CSS HTML menu.