HTML - Text Size


 

HTML - Text Size

HTML - Text Size

HTML - Text Size

HTML - Text Size

Description :

The size is a attributes of font tag of html. It specifies the size of text.

Syntax:

<font size="4"> Bharat singh</font>

Code :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>HTML is a markup language</title>
</head>
<body>
<h1>Example of Break Line
tag HTML.</h1>
<p><font size="3"> HTML is a markup language.</font><br/>
<font size="4">It is used for designing not for development.</font><br/>
<font size="5">HTML stands for Hypertext Markup Language.</font> </p>
</body>
</html>

Output:

Ads