Articles → HTML → Font Tag In HTML
Font Tag In HTML
Purpose
Syntax
<font size="" color="" face="">Text</font>
Example
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<form>
<font size="10" color="red" face="Verdana">This is the sample text</font>
</form>
</body>
</html>
Try It
Output
Browser Support
Internet Explorer | Firefox | Chrome | Safari | Opera | Edge |
---|
Yes | Yes | Yes | Yes | Yes | Yes |