mark property CSS Reference

Definition and Usage

The 'mark' property is a shorthand for setting 'mark-before' and 'mark-after'. If two values are given the first value is 'mark-before' and the second is 'mark-after'. If only one value is given, it applies to both properties.

Name: mark
Value: [ <'mark-before'> || <'mark-after'> ]
Initial: not defined for shorthand properties
Applies to: all elements
Inherited: no
Percentages: N/A
Media: speech


mark: [ <'mark-before'> || <'mark-after'> ];


Refer to 'mark-before' and 'mark-after'


div {
    mark: "start" "end";

Relative articles