InternetUnicodeHTML Rendering Property Tag Element RenderingBox ModelColor and Background RenderingElement Type Rendering Draft for Information Only
ContentText Content Rendering
Text Content RenderingProperty Type - Text Arrangement and StylingWhite SpaceWhite space. e.g.{white-space: normal} 'white-space'
The 'white-space' property is used to declares how white space inside the element is handled. value:normal | pre | nowrap | pre-wrap | pre-line | inherit
Initial:normal
Applies to:all elements
Inherited:yes
Percentages:N/A
Media:visual
Computed value:as specified
Property ValuesnormalThis value directs user agents to collapse sequences of white space, and break lines as necessary to fill line boxes.1 preThis value prevents user agents from collapsing sequences of white space. Lines are only broken at preserved newline characters.1 nowrapThis value collapses white space as for 'normal', but suppresses line breaks within text.1 pre-wrapThis value prevents user agents from collapsing sequences of white space. Lines are broken at preserved newline characters, and as necessary to fill line boxes.2 pre-lineThis value directs user agents to collapse sequences of white space. Lines are broken at preserved newline characters, and as necessary to fill line boxes.2Newlines in the source can be represented by a carriage return (U+000D), a linefeed (U+000A) or both (U+000D U+000A) or by some other mechanism that identifies the beginning and end of document segments, such as the SGML RECORD-START and RECORD-END tokens. The CSS 'white-space' processing model assumes all newlines have been normalized to line feeds. UAs that recognize other newline representations must apply the white space processing rules as if this normalization has taken place. If no newline rules are specified for the document language, each carriage return (U+000D) and CRLF sequence (U+000D U+000A) in the document text is treated as single line feed character. This default normalization rule also applies to generated content. UAs must recognize line feeds (U+000A) as newline characters. UAs may additionally treat other forced break characters as newline characters per UAX14. Sources and References
©sideway ID: 210800020 Last Updated: 8/20/2021 Revision: 0 Ref: ![]() References
![]() Latest Updated Links
![]() ![]() ![]() ![]() ![]() |
![]() Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 18 Reference 79 Computer Hardware 254 Software Application 213 Digitization 37 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 431 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019