How to use word-wrap attribute

青灯夜游
Release: 2019-01-30 14:36:00
Original
6577 people have browsed it

The word-wrap attribute is used to automatically wrap long words or URL addresses at the boundaries of the container.

How to use word-wrap attribute

CSS3 word-wrap attribute

Function:Allows long words or The URL address wraps to the next line.

Description:Set or retrieve whether to break lines when the content exceeds the boundary of the specified container.

Syntax:

word-wrap: normal|break-word;
Copy after login

normal: Line breaks only at allowed hyphenation points (browser keeps default processing).

break-word: Break lines inside long words or URL addresses.

CSS3 Example of using the word-wrap attribute

    

dsffdgrh121324gfdgfhhgjhkkjlkl;

dsffdgrh121324gfdgfhhgjhkkjlkl;

Copy after login

Rendering:

How to use word-wrap attribute

The above is the entire content of this article, I hope it will be helpful to everyone's study. For more exciting content, you can pay attention to the relevant tutorial columns of the PHP Chinese website! ! !

The above is the detailed content of How to use word-wrap attribute. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!