HTML - em element (emphasis)

About

em is an HTML element that set a strong emphasis on words of a sentence.

If you want to add an extra comment (extra voice) on the actual text, you may want to use the idiomatic element instead.

Example

The default font styling is italic and should have been bold instead to make a strong difference with the the idiomatic element

Word

This is <em>not</em> what I intended to do

Sentence

<p><em>Cats are cute animals!</em></p>

Documentation / Reference





Discover More
Browser / DOM - Range - defining a sequence of characters

Range is a function that permits defining a sequence of characters in the DOM tree and is used in selecting and copying content.
Boxdim
CSS - Boxes (Box Model)

CSS The Box model means that each element is represented as a rectangular box. The layout phase of the browser rendering engine creates the box model as a tree of box and determines: the , the...
HTML - (Flow|Body) Content

Most elements that are used in the body of documents and applications are categorized as flow content. Flow content consists of flow elements intermixed with normal character data. (ifbodhead...
HTML - Palpable content

As a general rule, elements whose content model allows any flow content or phrasing content should have at least one node in its contents: that is palpable content (Can be manipulated ?) and that...
HTML - Phrasing Content (Text)

Phrasing content is: the text of the document, as well as elements that mark up that text at the intra-paragraph level. Runs of phrasing content form paragraphs. Most elements that are categorized...
What is the I HTML element? ie idiomatic tag, italicized type

The i element represents an inline parenthetical text. These texts have been presented historically using italicized type. That's why: the element name is i the default style is Italic emphasis...



Share this page:
Follow us:
Task Runner