HTML BASEFONT Tag || BASEFONT Tag in HTML
×

HTML BASEFONT <basefont> Tag

2410

The HTML BASEFONT <basefont> tag defines the default font-family, font-size and color for the text in the HTML document. This tag was used in html4 but it was removed in HTML5.

So we are recommended that you can use CSS properties such as font, font-family, font-size, and color to text in the document.

Note:

Not supported in HTML5.

Code:

<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title> HTML Basefont Tag </title>
</head>
<body>
<h1> The HTML Basefont Tag </h1>
 <basefont face = "cursive,serif" color = "#ff9900" size = "4"/>
   <p> The HTML basefont tag is Not Supported in HTML5.<br>
   You should use CSS font to set font properties instead. </p>
</body>
</html>


Best WordPress Hosting


Share:


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price



Leave a Reply


Comments
    Waiting for your comments