HTML BASEFONT <basefont> Tag
0 2352
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>
Share:
Comments
Waiting for your comments