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|
No punctuation mark
Punctuation outside the start edge of the first line
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;