Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the use of em tags in html

Shulou Source: shulou.com Published: 2022-06-01 06:28:44 11月16日 Update

This article is about what the em tag is used for in html. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

HTML Tag Examples

Format text in a document:

emphasis on the text

browser support

InternetExplorer,Firefox,Opera,GoogleChrome,Safari

All major browsers support tags.

Label definition and instructions

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

Tip: We have nothing against using this tag, but if you are using it for a visual effect, we recommend using CSS, which may be richer.

Differences between HTML4.01 and HTML5

None.

global properties

Tags support global attributes of HTML.

event properties

Tag supports HTML event attributes.

Thank you for reading! About "html em tag what to use" this article is shared here, I hope the above content can be of some help to everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!

Tags: Tags attributes support text events global content effects more browsers articles browsing good practical mainstream between usage instructions just examples differences Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi vpn macOS MySQL Apple