![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
Change the appearance of the default font that is used to draw the text. This
element can be specified inside the HEAD or
the BODY of the document. When used in the HEAD it
sets the values for the complete document. When the element is used in the BODY
it affects the text following the element. A next occurrence will again set new
values to be used.
Navigator and Internet Explorer handle this element in the BODY different. In
Navigator the size is reset to the standard value, in Explorer the size is kept
the same. See the example.
The settings do not effect every text of the document. For example, text inside a table is not affected, and always displayed with the standard font. The base font size applies to the normal and preformatted text but not to headings, except where these are modified using the FONT element with a relative font size.
Note: This element is deprecated, and this DTD fragment is taken from the transitional DTD. <!ELEMENT BASEFONT - O EMPTY -- base font size --> <!ATTLIST BASEFONT id ID #IMPLIED -- document-wide unique id -- size CDATA #REQUIRED -- base font size for FONT elements -- color %Color; #IMPLIED -- text color -- face CDATA #IMPLIED -- comma separated list of font names -- >from the HTML 4.0 DTD, "Copyright © World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved."
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
When using the FONT element to change the size with a relative value,
eg
To change the font size by 1, the elements BIG and SMALL can be used instead of the FONT element.
![]() |
<BASEFONT size="5">
|
![]() |
To see the BASEFONT element in action in the HEAD: view this example. |