How to remove italic style from em tags in css
This article mainly introduces the css em tag how to remove italic style, the article is very detailed, has a certain reference value, interested friends must read it!
In css, you can use the "font-style" attribute to remove the italic style of the em tag. The function of this attribute is to define the style of the font. When the value of the attribute is "normal", the font is displayed as the standard style, that is, the italic style is removed, and the syntax is "em {font-style:normal;}".
The operating environment of this tutorial: windows10 system, CSS3&&HTML5 version, Dell G3 computer.
How to remove italic style from em tags in css
In css, you can use the font-style attribute to remove the italic style of the em tag, and the font-style attribute defines the style of the font. The font style is the standard style when the value of the property is normal.
Examples are as follows:
Document .em1 {font-style:normal;} this is a paragraph of text
This is a passage.
Output result:
The above is all the content of the article "how to remove italic style from em tags in css". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!