How to use html em tag

藏色散人
Release: 2019-05-28 11:16:22
Original
4619 people have browsed it

html The em tag is a phrase tag used to render emphasized text. We have nothing against using this tag, but if you are using it just for a visual effect, we recommend using CSS, which may provide a richer effect.

How to use html em tag

#html How to use em tag?

Tag definition and usage instructions

A tag is a phrase tag that is used to present emphasized text.

Tip: We do not object to the use of this tag, but if you are only using this tag to achieve a certain visual effect, we recommend that you use CSS, which may achieve a richer effect.

All phrase tags:

are rendered as highlighted text.

Defines important text.

Define a definition item.

Defines computer code text.

Defines sample text.

Define keyboard text. It indicates that the text was typed from the keyboard. It is often used in computer-related documentation or manuals.

Define variables. You can use this tag with the

and  tags. 
Copy after login

Differences between HTML 4.01 and HTML5: None.

Global attributes

tag supports HTML global attributes.

Event attributes

tag supports HTML event attributes.

Example

Format text in the document:

     
强调文本
加粗文本
定义项目
一段电脑代码
计算机样本
键盘输入
变量
Copy after login

Effect output:

How to use html em tag

##Browser support: All major browsers support the tag.

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

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!