Contact Us
   
   
 
   
   
 
     
 
 
HTML Tag Tutorial
 
 
 

HTML basefont Tag

 
 
Print   Email
 
     
 

The example of basefont tag in HTML

<html>
<head>
<basefont color="#0099FF" face="Verdana" size="3" />
<title>basefont tag in HTML</title>
</head>

<body>
This is basefont tag
</body>
</html>

 

The HTML basefont tag is used to define default font color, font family and font size for whole webpage document.

This basefont helps to define once in a top and whole body use default font setting in webpage.

The basefont tag is deprecated by HTML 4.01 DTD version and XHTML 1.0 Strict DTD.

Basefont tag is supported by only Internet Explorer web browser.

It does not support by firefox, opera and other web browsers.

Font tag's all attribute is supported by basefont tag.

Common Attribute of basefont Tag

Attribute Value Explaination
id ID unique id document for element
class classname list of CSS classes
style StyleSheet associated style information of style tags
title Text information about an element shown on mouse over cursor

Basefont tag attribute

Attribute Value Explaination
size Number base font size for FONT elements
color Color Define text color
face fontname comma-separated list of font names

 
     
 
If You Like this Article, share this

  



Feedback
 
     
   

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home1/easyways/public_html/ews/html/tags/sidebar.php on line 17
Table 'easyways_easywayserver.wp_posts' doesn't exist