Easy Tutorial
❮ Sel Root Sel Element Comma ❯

CSS3 hanging-punctuation Property

Example

Place a punctuation mark at the beginning edge of the first line of a p element:


Browser Support

The numbers in the table indicate the first browser version that supports the property.

Property
hanging-punctuation Not supported Not supported Not supported Not supported Not supported

Currently, mainstream browsers do not support the hanging-punctuation property.


Property Definition and Usage

The hanging-punctuation property specifies whether a punctuation mark will be placed outside the text line box at the start or end.

Default value: none
Inherited: yes
--- ---
Version: CSS3
--- ---
JavaScript syntax: object.style.hangingPunctuation="first"
--- ---

Syntax

Value Description
none Does not place punctuation marks outside the text line box at the beginning or end of the line.
first Punctuation is attached outside the beginning edge of the first line.
last Punctuation is attached outside the ending edge of the last line.
allow-end
force-end
❮ Sel Root Sel Element Comma ❯