CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS hanging punctuation Property

CSS hanging-punctuation Property

 

 

The hanging-punctuation property is used to specify whether a punctuation mark is placed outside the line box at the start or at the end of a full line of text.

 

Default Value:-

 

Its default value is none.

 

Syntax:-

 

Its syntax is:- hanging-punctuation: none | first | last | allow-end | force-end | initial | inherit;

 

Further Explanation:-

 

Value Description
none No punctuation mark is placed outside the line box at the start or at the end of a full line of text
first Punctuation may hang outside the start edge of the first line
last Punctuation may hang outside the end edge of the last line
allow-end Punctuation may hang outside the end edge of all lines if the punctuation does not otherwise fit prior to justification
force-end Punctuation may hang outside the end edge of all lines. If justification is enabled on this line, then it will force the punctuation to hang
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS