<basefont>



HTML <basefont> Tag (Not Supported in HTML5.)


The <basefont> tag is used to define font-size, text-color, or font family for all the text in the document.

The element must be inside the head element.

Note : After HTML5 we have to use CSS instead of it <basefont> tag.

Example :

<!DOCTYPE html>
<html>
<head>
 <basefont color="blue" size="50px" face="arial">
</head>

<body>
 This is a demo text
</body>
</html>