microsoft.com Home   All Products  |   Support  |   Search  |   microsoft.com Home  
Microsoft

Microsoft Typography | Typography on the Web | Specifying fonts... | FONT SIZE next


FONT SIZE

SIZE is an official HTML 3.2 FONT attribute used, to specify the size of text relative to the browser or user defined default type size. The range of supported values is from 1 to 7, with the value 3 referring to the browser or user defined default. So SIZE=2 will be smaller than the default and SIZE=4 will be larger.

The relationship between HTML FONT SIZE and physical type size is discussed in the following section.

SIZE can also be specified using SIZE=+n or SIZE=-n. In normal circumstances SIZE=+1 will have exactly the same effect as specifying SIZE=4 and SIZE=-2 will be the same as specifying SIZE=1. Specifying SIZE in this way is only sensible if you think you may want to globally increase the type size of your text in the future. The base font value can be altered using the BASEFONT tag. So if the base font size is set to 4 then SIZE=+1 will equal 5. The use of BASEFONT is discussed in more detail in the BASEFONT section.



this page was last updated 30 June 1997
© 1997 Microsoft Corporation. All rights reserved. Terms of use.
comments to the MST group: how to contact us

 

Microsoft Typography | Typography on the Web | Specifying fonts... | FONT FACE next