bookmark-label property

Tutorials

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

Syntax

bookmark-label: content() | <string>

Examples

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

Rate article