Home>Article>Web Front-end> What is italic tag in html5
Italic tag in html5: 1. "i" tag, the syntax is "italic", the i tag defines a part that is different from the rest of the text, and puts this part of the text Presented as italicized text; 2. "em" tag, the syntax is "Italic". The em tag is a phrase tag used to render emphasized text in italics.
The operating environment of this tutorial: Windows 10 system, HTML5 version, Dell G3 computer.
What is the italic tag in html5?
#In html, if you want to make the text italic, you can use two tags, one is i tag, the other is the em tag.
Defines a portion of text that is different from the rest of the text and renders this portion of text in italics.Tags are used to represent technical terms, idioms in other languages, ideas, spaceship names, etc. Theelement is used when no other element with appropriate semantics can be used. The
tag is a phrase tag used to render emphasized text.
The example is as follows:
Document 这一段应该是斜体样式
这一段也应该是倾斜的样式
Output result:
Recommended tutorial: "html video tutorial"
The above is the detailed content of What is italic tag in html5. For more information, please follow other related articles on the PHP Chinese website!