Home >Web Front-end >Front-end Q&A >How to use html i tag

How to use html i tag

藏色散人
藏色散人Original
2019-05-27 14:22:374539browse

html The i tag is used to display italic text effect. The tag is similar to the content-based style tag . It tells the browser to display the contained text in italic or oblique fonts.

How to use html i tag

#html How to use i tag?

Function: Display the italic text effect.

Note: The tag is similar to the content-based style tag . It tells the browser to display the contained text in italic or oblique fonts. If this type of italics is not available for the browser, you can use highlighting, inverting, or underlining styles.

Note:

tag must be used in conjunction with the closing tag .

html i tag usage example

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<i>这是显示斜体文本效果的标签</i>
</body>
</html>

Effect:

How to use html i tag

The above is the detailed content of How to use html i tag. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to use html hr tagNext article:How to use html hr tag