Html Basefont Tag

In the html <basefont> tag is used to identify default font color,font size and font family for text in the html page and other ways you can use font to alternative for inside body tag.example is <body style="color: blue;">.which tag only we are using html 4.01 and it will not support in html5.


<basefont />

Example Code

  <basefont color="blue" size="9" />
  <h1> Header Line </h1>
  <p> Paragraph Line </p>

Out Put :

Header Line

Paragraph Line

In the above example <basefont> tag has been added to inside of <head> tag.