CSS hanging-punctuation Property


Use the hanging-punctuation property to set whether a punctuation character may be placed outside the line box.

It has the following values

S.No
Property Value & Description
1.
None
No punctuation mark
2.
First
Punctuation outside the start edge of the first line
3.
Last
Punctuation outside the end edge of the last line

Set it like this in your web page −

hanging-punctuation: none;
hanging-punctuation: first;
hanging-punctuation: last;

Lakshmi Srinivas
Lakshmi Srinivas

Programmer / Analyst / Technician

Updated on: 04-Jul-2020

50 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements