Controlling line breaks and spaces


show more Controlling line breaks and spaces provides you with in-depth training on Developer. Taught by Bill Weinman as part of the XHTML and HTML Essential Training show less
please wait ...

Controlling line breaks and spaces

In our lesson on paragraphs, we talked about how the browser automatically formats a paragraph taking multiple occurrences of white space, spaces, new lines, etcetera and folds them into one space for the purpose of formatting the paragraph. In this lesson, we are going to talk about how to control the line breaks in the browser. Here in our Editor on the top of the screen, we have a couple of paragraphs and we are displaying those paragraphs in the browser on the bottom of the screen. Let me go ahead and shrink the browser down so that the paragraphs wrap a little bit.

For the purposes these lessons we can show how to control those wraps. You will notice that the first paragraph up here extends past the Editor window with no wraps whatsoever and you will notice that down in the browser it wraps normally. You will notice that the second paragraph is wrapped normally on the screen and it wraps normally down here in the browser as well. So this first paragraph goes beyond the Editor wi...

Controlling line breaks and spaces
Video duration: 5m 43s 4h 44m Beginner

Viewers:

Controlling line breaks and spaces provides you with in-depth training on Developer. Taught by Bill Weinman as part of the XHTML and HTML Essential Training

Subjects:
Developer Web
Software:
HTML XHTML
Author:
please wait ...