P
| Description | Represents a paragraph, grouping together block-level text content and establishing a basic unit of prose. |
|---|---|
| Namespace | 1.7 2.0 |
| Category | block |
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 'P' element represents a paragraph in Well-Tagged PDF. It is fundamental for organizing text content into readable blocks and supports content extraction and reflow.
For Well-Tagged PDF, the 'P' element must be used to enclose blocks of text that constitute a paragraph. Proper nesting within higher-level structure elements is required to maintain logical reading order and facilitate reusability.
PDFUA:
In PDF/UA, the 'P' element is crucial for denoting paragraphs and ensuring that text is accessible. It plays a key role in defining the document’s reading order.
PDF/UA mandates that each paragraph is encapsulated within a 'P' element that is properly tagged and nested. It must include appropriate language and alternative text where necessary to support screen readers and other assistive technologies.
Use cases
A paragraph is a small group of sentences about one main idea.
Try itTag Relationships
Click on any tag to view its details.