- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set whether a punctuation character may be placed outside the line box with CSS
Use the hanging-punctuation property to set whether a punctuation character may be placed outside the line box. It has the following values
Sr.No | Property Value & Description |
---|---|
1. | Last 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 on your web page
hanging-punctuation: none; hanging-punctuation: first; hanging-punctuation: last;
- Related Articles
- Set marker outside of the box containing the bullet points with CSS
- Set the maximum height that a box can be with CSS
- Set the minimum height that a box can be with CSS
- Set the maximum width that a box can be with CSS
- Set the minimum width that a box can be with CSS
- Set the height of a box with CSS
- Set the width of a box with CSS
- Check whether the specified Unicode character is a punctuation mark in C#
- How to indicate whether the marker should appear inside or outside of the box containing the bullet points with CSS?
- Set the width of a tab character with CSS
- Match any single character outside the given set.
- Set whether the text should be overridden to support multiple languages with CSS
- Set a dotted line for the border with CSS
- Set whether the text of the element can be selected or not with CSS
- Set the height of a line of text with CSS

Advertisements