We will use face attribute with font tag to set type of font on our web pages. For example, some of the values are Verdana, Arial and Impact.
End user must have that font installed on their devices.
Also, we can combine face attributes with size and color attributes. In that case, attributes must be separated by a comma.
<!DOCTYPE html>
<html>
<head>
<title>Security Tutorials</title>
<meta charset="utf-8">
<meta name="description" content="Free Security Tutorials">
<meta name="keywords" content="it security, pentesting, hacking">
</head>
<body>
<h1><font face="Verdana">Verdana Font</font></h1>
<h1><font face="Arial">Arial Font</font></h1>
<h1><font face="Impact">Impact Font</font></h1>
</body>
</html>
No comments:
Post a Comment