DEFAULT FONT SIZE

 

By default all text on a page is shown in size 3 (in HTML the sizes range from 1 to 7). In this tutorial I am going to show you a way to set the default font size on a webpage without using CSS. To do this we are going to introduce the BASEFONT tag.

The BASEFONT tag changes the default text size for any text on the page. So how do we use it? Well lets start by finding the opening BODY tag in your webpage (
<BODY>), right after it insert the following:
<basefont size="x">
Replace X with a text size you wish for the pages text to be in. Don't worry there is no closing tag for this.

Tips & Hints
  1. You may wish to use a slightly larger basefont in a short webpage to give more importance to the page. Use a smaller basefont in a lengthly, text-intensive page in order to be able to fit more text and content onto it.
  2. Only use 1 BASEFONT tag in each HTML document. The tag affects all the succeeding text. To change the font size of an individual paragraph, sentence or word you can simply use the font size tag.

 

Hosted by www.Geocities.ws

1