Font tag to set the shape and appearance of a letter in an HTML document syntax is as follows:
<font [properties]>. . . . . . . . </ font>
<font [properties]>. . . . . . . . </ font>
Properties | Statement |
Face | The shape and name of font |
Size | Size of font |
Color | Change the font color |
Example :
<html>
<head>
<title> practice heading </title>
</head>
<body>
<h1 align="center"> Belajar Tag Properti </h1>
<p align "justify">HTML, which stands for HyperText Markup Language, is the predominant markup language for web pages. HTML is the basic building-blocks of webpages.
</p>
<font face="comic sans ms" color="blue" size="30"><p align "justify">HTML, which stands for HyperText Markup Language, is the predominant markup language for web pages. HTML is the basic building-blocks of webpages.
</p>
</font>
</body>
</html>
<head>
<title> practice heading </title>
</head>
<body>
<h1 align="center"> Belajar Tag Properti </h1>
<p align "justify">HTML, which stands for HyperText Markup Language, is the predominant markup language for web pages. HTML is the basic building-blocks of webpages.
</p>
<font face="comic sans ms" color="blue" size="30"><p align "justify">HTML, which stands for HyperText Markup Language, is the predominant markup language for web pages. HTML is the basic building-blocks of webpages.
</p>
</font>
</body>
</html>
In the browser :
No comments:
Post a Comment