In HTML, numbers and letters do not wrap to show __html

Source: Internet
Author: User

Transferred from https://www.cnblogs.com/yiran2016/p/6169168.html

The numbers and letters in the HTML tag are not wrapped by default, and if you want to wrap them, add "Word-wrap:break-word" to the CSS to resolve the 

syntax: Word-wrap:normal|break-word;

Default normal: The word is not broken by default, long words will overflow
Break-word: Will first start a new line to place long words, the new line or not put this long word will be forced to sentence long words.

if necessary, word wrapping is used (word-break) to

Grammar: word-break:break-all; do not put long words in a new line, when this line can not put down when the direct forced punctuation.

For example

<! DOCTYPE html> 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.