CSS properties-white-space blank properties instructions for use CSS properties-white-space blank Properties
This CSS attribute is used to process white spaces.
Value: normal | pre | nowrap | inherit
Description of available value
Normal default value. Natural text line feed. If the element width is exceeded, the content is naturally changed to the next line.
Nowrap does not allow line breaks.
Pre retains line breaks and white spaces. This value is only valid when you declare it! DOCTYPE, which is supported by IE 6 or later.
In HTML files, blank spaces, such as line breaks, spaces, and tabs are automatically intercepted. HTML automatically removes unnecessary spaces. No matter how many spaces you add, it is regarded as a space. To add spaces to a webpage, you can use spaces. You can also use
Force line feed.
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.