Home > Article > Web Front-end > Use CSS to set whether punctuation can be placed outside line boxes
Use the hanging-punctuation attribute to set whether punctuation can be placed outside the line box. It has the following values
Sr.No | Attribute value and description |
---|---|
1. |
Finally No punctuation |
2. |
The first punctuation mark is outside the starting edge of the first line |
3. |
Final The punctuation mark is outside the closing edge of the last line |
hanging-punctuation: none; hanging-punctuation: first; hanging-punctuation: last;
The above is the detailed content of Use CSS to set whether punctuation can be placed outside line boxes. For more information, please follow other related articles on the PHP Chinese website!