FANDOM


style works with font and size to control the basic look of a text element.

possible values : italic, bold, narrow, expanded, condensed, smallcap, poster, compressed, fixed

The font must support the style, otherwise it will be ignored.

To specify multiple styles, separate them with a semicolon. Check the examples.

JavaScript:

someTextObject.style = "italic;bold;narrow";

Example:

<style>italic;bold;narrow</style>