Home Home -> HTML Reference -> Tag Reference - basefont

Tag Reference - basefont

Description

This element, which should be included at the start of the <body> block, sets a default fonr face, color and size for the document.

Attributes


color
Specifies the colour of the element, as either a named colour or a hexadecimal (#rrggbb) value.

face
Specifies the font face, or a comma separated list of faces, in order of preference, for the enclosed text. When used with <basefont>, this defines the default face for all text on the page.

id
A unique alphanumeric identifier used to identify this object/tag. This identifier can be used in scripting languages to refer to the tag or object.

size
Sets the size of the font, as either a number from 1-7 or a relative value, +/-3. The actual point size depends on the browser.