最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

font-style Attribute | fontStyle Property

Internet Development Index

Sets or retrieves the font style of the object as italic, normal, or oblique.

Syntax

HTML { font-style : sStyle }
Scriptingobject.style.fontStyle [ = sStyle ]

Possible Values

sStyleString that specifies or receives one of the following values.
normalDefault. Font is normal.
italicFont is italic.
obliqueFont is italic.

The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of normal. The Cascading Style Sheets (CSS) attribute is inherited.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The oblique value is available as of Microsoft® Internet Explorer 4.0. Internet Explorer 4.0 renders italic and oblique identically.

While, Internet Explorer is shipped with a default fontStyle, this default can be changed by accessing Internet Options.

Examples

The following example shows how to use hn as a selector to set the font style to italic in H3 headings.

<STYLE>
H3 { font-style:italic }
</STYLE>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

The following example shows how to use inline scripting to set the font style to italic when an onmousedown event occurs.

<DIV onmousedown="this.style.fontStyle='italic'"> 
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This property is defined in Cascading Style Sheets (CSS), Level 1 (CSS1) Non-Microsoft link.

Applies To

A, ADDRESS, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, currentStyle, CUSTOM, DD, defaults, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, hn, HTML, I, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, ISINDEX, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, runtimeStyle, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP

See Also

font
岳西县| 宁国市| 许昌市| 洱源县| 吉水县| 饶阳县| 汉沽区| 甘德县| 白水县| 容城县| 高邑县| 杂多县| 珠海市| 广安市| 南通市| 太仓市| 维西| 仲巴县| 屯昌县| 昌图县| 武定县| 郓城县| 高雄市| 吉首市| 卓尼县| 金堂县| 白城市| 三明市| 柘城县| 渭南市| 商都县| 常熟市| 昆山市| 建湖县| 阿荣旗| 镇赉县| 泽州县| 斗六市| 阿图什市| 贡觉县| 齐河县|