
- Javascript Basics Tutorial
- Javascript - Home
- Javascript - Overview
- Javascript - Syntax
- Javascript - Enabling
- Javascript - Placement
- Javascript - Variables
- Javascript - Operators
- Javascript - If...Else
- Javascript - Switch Case
- Javascript - While Loop
- Javascript - For Loop
- Javascript - For...in
- Javascript - Loop Control
- Javascript - Functions
- Javascript - Events
- Javascript - Cookies
- Javascript - Page Redirect
- Javascript - Dialog Boxes
- Javascript - Void Keyword
- Javascript - Page Printing
- JavaScript Objects
- Javascript - Objects
- Javascript - Number
- Javascript - Boolean
- Javascript - Strings
- Javascript - Arrays
- Javascript - Date
- Javascript - Math
- Javascript - RegExp
- Javascript - HTML DOM
- JavaScript Advanced
- Javascript - Error Handling
- Javascript - Validations
- Javascript - Animation
- Javascript - Multimedia
- Javascript - Debugging
- Javascript - Image Map
- Javascript - Browsers
- JavaScript Useful Resources
- Javascript - Questions And Answers
- Javascript - Quick Guide
- Javascript - Functions
- Javascript - Resources
Control the flow and formatting of text with CSS
The white-space property is used to control the flow and formatting of text.
Example
You can try to run the following code to implement white-space property to control the flow of text:
<html> <head> </head> <body> <p style = "white-space:pre;"> This text has a line break and the white-space pre setting tells the browser to honor it just like the HTML pre tag.</p> </body> </html>
- Related Articles
- Formatting Text in CSS
- Formatting Text Using CSS
- Difference between flow control and congestion control
- What is the difference between Flow Control and Error Control?
- HTML Text Formatting
- What is the concept of flow and error control and their differences?
- Control the placement of the table caption with CSS
- Static Control Flow in Java
- Control flow alterations in Ruby
- Emphasis text and color with CSS
- What are the loop control statements in C language? Explain with flow chart and program
- What is the use of MySQL IFNULL() control flow function?
- What is the use of MySQL NULLIF() control flow function?
- Formatting Unordered and Ordered Lists Using CSS
- Formatting Unordered and Ordered Lists in CSS

Advertisements