Home > Web Front-end > CSS Tutorial > Use CSS to set whether punctuation can be placed outside line boxes

Use CSS to set whether punctuation can be placed outside line boxes

WBOY
Release: 2023-08-25 23:49:02
forward
657 people have browsed it

用 CSS 设置标点符号是否可以放置在行框之外

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

##Set this on your web page

hanging-punctuation: none;
hanging-punctuation: first;
hanging-punctuation: last;
Copy after login

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!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template