font-style版本:CSS1  兼容性:IE4+ NS4+ 继承性:有
语法:
font-style : normal | italic | oblique
取值:
normal :默认值。正常的字体
italic :斜体。对于没有斜体变量的特殊字体,将应用 oblique
oblique :倾斜的字体
说明:
设置或检索对象中的字体样式。
对于此属性的默认值来说,IE提供了预定义样式。但是你可以在浏览器菜单的 Internet 选项 中更改它。
此属性对于 currentStyle 对象而言是只读的。对于其他对象而言是可读写的。
对应的脚本特性为 fontStyle
示例:
p { font-style: normal; }
p { font-style: italic; }
p { font-style: oblique; }