JSSTag.fontStyle (Property)

The font attributes for an object.


CSS level - 1
JavaScript - 1.2
Netscape - 4.0
Property/method value type:String primitive
JavaScript syntax:NmyJSSTag.fontStyle
NmyJSSTag.fontStyle = aStyle
CSS syntax:font-style: aStyle
Argument list:aStyleA font presentation style

The JSSTag.fontStyle property corresponds to the CSS font-style property.

You can choose a value from these available styles:

For some fonts, the italic and oblique fonts are simply slanted versions of the normal upright fonts. This can lead to some unattractive artefacts and so the italic form is sometimes specially designed and uses a markedly different glyph. It is intended to improve readability of italic characters.

The default value for this property is "normal".

This value is inherited from its parent container element.


See also:style.fontStyle