w:bookmarkEnd (Bookmark End)

Marks the end of a named bookmark range, paired with a corresponding w:bookmarkStart.

Parent elements

Description

w:bookmarkEnd marks the end of a named bookmark. It is defined in ECMA-376 Part 1 §17.13.6.2.

It is an empty element paired with the w:bookmarkStart that shares the same w:id. The two elements together define the range of content included in the bookmark. w:bookmarkEnd may appear in a different paragraph from w:bookmarkStart for cross-paragraph bookmarks.

Attributes

Attribute Type Possible Values Description
w:id ST_DecimalNumber Non-negative integer matching a w:bookmarkStart/@w:id. Links this end marker to its start.

Examples

<w:bookmarkStart w:id="0" w:name="section1"/>
<w:r><w:t>Section 1 content</w:t></w:r>
<w:bookmarkEnd w:id="0"/>