Em
| Description | Marks text that should be emphasized, conveying a stress or subtle change in meaning from the surrounding content. |
|---|---|
| Namespace | 2.0 |
| Category | inline |
Attributes
Specifies how the element is placed relative to surrounding content (e.g., block-level or inline flow).
Defines the direction of text flow (e.g., left-to-right, right-to-left, or vertical).
Sets the background color for the element’s content area.
Specifies the color of the border around the element.
Indicates the style of the border (e.g., solid, dashed, dotted).
Defines the thickness of the border line in user space units (such as points).
Determines the space between the element’s border (or boundary) and its inner content.
Applies the primary color (fill or stroke) for the text or graphic content.
Main indicator of type. This semantic association allows tools to present and support interaction with the object in a manner that is consistent with user expectations about other objects of that type.
Differences
Well tagged PDF:
The 'Em' element indicates emphasized text in Well-Tagged PDF, often rendered in italics to denote a change in tone or to highlight important information.
It should be used to enclose text that requires emphasis, ensuring that its semantic meaning is preserved during content extraction and reflow.
PDFUA:
In PDF/UA, the 'Em' element is critical for conveying emphasis in a way that assistive technologies can interpret, thus enhancing content accessibility.
All emphasized text should be wrapped in an 'Em' element and properly nested within the structure tree, allowing screen readers to convey the intended emphasis.
Use cases
Emphasized text examples
Try itTag Relationships
Click on any tag to view its details.