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

Syntax

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

Values

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


Examples

div {
    mark: "start" "end";
}

Relative articles