Sideway
output.to from Sideway
Draft for Information Only

Content

Text Content Rendering
 Property Type - Text Arrangement and Styling
  White Space
   Property Values
 Sources and References

Text Content Rendering

Property Type - Text Arrangement and Styling

White Space

White 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 Values

normalThis 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.2

Newlines 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

  • https://www.w3.org/TR/CSS1/
  • https://www.w3.org/TR/CSS2/text.html
  • https://www.w3.org/TR/css-text-3/
  • https://developer.mozilla.org/en-US/docs/Web/CSS/white-space

©sideway

ID: 210800020 Last Updated: 8/20/2021 Revision: 0 Ref:

close

References

  1. http://www.w3.org/TR/1999/REC-html401-1999, 1999, HTML 4.01 Specification: W3C Recommendation, updated 24 December 1999
close

Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Reference 79

Computer

Hardware 249

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019