Kifungu cha <em> cha HTML

Definition and Usage

<em> The tag is used to define emphasized text. The content inside the tag is usually displayed in italics.

Screen readers will read out in an emphasized manner <em> Words in tags, use voice emphasis.

See also:

HTML Tutorial:HTML Wenzhi Fuzhi

HTML DOM Reference Manual:Emphasized Object

Example

Mark emphasized text in the document:

<p>you <em>must</em> hurry up!</p>
<p>we <em>cannot</em> live like this.</p>

Try It Yourself

Global Attributes

<em> The tag also supports Global Attributes in HTML.

Event Attributes

<em> The tag also supports Event Attributes in HTML.

Default CSS Settings

Most browsers will use the following default values to display <em> Element:

em {
  font-style: italic;
}

Try It Yourself

Browser Support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Support Support Support Support