Home>Article>Web Front-end> How to write css italic style
In CSS, you can use the "font-style" attribute to implement the italic style of text. The syntax is "font-style:italic|oblique", where italic is the italic style and oblique is the oblique style.
The operating environment of this tutorial: Windows7 system, CSS3&&HTML5 version, Dell G3 computer.
Italic text is often used by people. Italics in CSS are achieved by setting thefont-style
attribute.
文字斜体 文字斜体
文字斜体
文字斜体
The above code sets the text style to italic. However, adding thetag to the
Recommended learning:css video tutorial
The above is the detailed content of How to write css italic style. For more information, please follow other related articles on the PHP Chinese website!