bookmark-label property CSS Reference

Definition and Usage

This property specifies the label of the bookmark, i.e., the text that will represent the bookmark in the bookmark structure.

Name: bookmark-label
Value: content() | <string>
Initial: content()
Applies to: all elements
Inherited: no
Percentages: N/A
Media: all
Computed value: specified value


bookmark-label: content() | <string>


a { bookmark-label: attr(title, string) }
h1 { bookmark-label: content() }
h2 { bookmark-label: content(before) }
#frog { bookmark-label: "The green frog" }

Relative articles