FontSize FontSize FontSize FontSize Enum

Definition

Specifies the font sizes defined by HTML 4.0.

public enum class FontSize
public enum FontSize
type FontSize = 
Public Enum FontSize
Inheritance

Fields

AsUnit AsUnit AsUnit AsUnit 1

The font size is specified by a point value.

Large Large Large Large 8

The font size is two sizes larger than the base font size.

Larger Larger Larger Larger 3

The font size is one size larger than the parent element.

Medium Medium Medium Medium 7

The font size is one size larger than the default font size.

NotSet NotSet NotSet NotSet 0

The font size is not set.

Small Small Small Small 6

The base font size determined by the browser.

Smaller Smaller Smaller Smaller 2

The font size is one size smaller than the parent element.

XLarge XLarge XLarge XLarge 9

The font size is three sizes larger than the base font size.

XSmall XSmall XSmall XSmall 5

The font size is one size smaller than the base font size.

XXLarge XXLarge XXLarge XXLarge 10

The font size is four sizes larger than the base font size.

XXSmall XXSmall XXSmall XXSmall 4

The font size is two sizes smaller than the base font size.

Remarks

The FontSize enumeration represents the font sizes defined by HTML 4.0. The font size can be an absolute or relative size.

An absolute font size represents a predefined font size determined by the browser. The possible values for an absolute font size are XXSmall, XSmall, Small, Medium, Large, XLarge, and XXLarge.

A relative font size represents a font size one size larger or smaller than a parent element's font size. The possible values for a relative font size are Smaller and Larger.

Note

Some browers do not recognize Smaller and Larger font sizes. Check with your browser for compatibility.

Applies to

See Also