Join Bill Weinman for an in-depth discussion in this video Controlling line breaks and spaces, part of XHTML and HTML Essential Training.
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 window and if we break it at some place, …
- Understanding the structure of an HTML or XHTML document
- Creating and using templates
- Controlling white space and line breaks
- Making effective use of tables and frames
- Flowing text around an image
- Formatting tables with CSS
- Creating web pages that work properly across platforms and devices
- Reviewing a case study of a complete web site
Skill Level Beginner
1. Introducing XHTML and HTML
2. Text Tags
3. Image Tags
Using inline images3m 17s
4. Link Tags
9. Creating a Simple Web Page from Scratch
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.