DocumentFragment
| Description | Encapsulates a fragment of a logical document extracted from another source. It is used to preserve content from an external document while maintaining its logical structure. |
|---|---|
| Namespace | 2.0 |
| Category | document |
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
Use cases
A simple DocumentFragment example containing a music list
Try itTag Relationships
Click on any tag to view its details.