The hanging-punctuation property for CSS determines whether a punctuation mark, if one is present, hangs and may be placed outside the line box (or in the indent) at the start or at the end of a line of text.
hanging-punctuation: value; object.style.hangingPunctuation = "value"; <'hanging-punctuation'> = none | [ first || [ force-end | allow-end ] || last ] none No punctuation character is made to hang.
first An opening bracket or quote at the start of the first formatted line of an element hangs.
force-end A stop or comma at the end of a line hangs.
allow-end A stop or comma at the end of a line conditionally hangs.
last A closing bracket or quote at the end of the last formatted line of an element hangs.
<!doctype html>
<html>
<head>
<style>
p
{
hanging-punctuation: first;
}
</style>
</head>
<body>
<p>[first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first. [first] "first" first, first.</p>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
p
{
hanging-punctuation: force-end;
}
</style>
</head>
<body>
<p>[force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end. [force-end] "force-end" force-end, force-end.</p>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
p
{
hanging-punctuation: allow-end;
}
</style>
</head>
<body>
<p>[allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end. [allow-end] "allow-end" allow-end, allow-end.</p>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
p
{
hanging-punctuation: last;
}
</style>
</head>
<body>
<p>[last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last. [last] "last" last, last.</p>
</body>
</html>
<!doctype html>
<html>
<body>
<button>initial</button>
<button>none</button>
<button>first</button>
<button>force-end</button>
<button>allow-end</button>
<button>last</button>
<p>[hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation. [hanging-punctuation] "hanging-punctuation" hanging-punctuation, hanging-punctuation.</p>
<script>
function myfunction(myparameter)
{
document.querySelector("p").style.hangingPunctuation = myparameter.target.innerHTML;
}
for(const mybutton of document.querySelectorAll("button"))
{
mybutton.addEventListener("mouseover", myfunction);
}
</script>
</body>
</html>