…As you first start authoring HTML you're probably going to notice what seems to…be a really curious behavior among browsers regarding your use of whitespace.…You see, no matter how much whitespace you put in your content,…your browser is going to, for…the most part, ignore everything after that first space of character.…So I've got the whitespace.htm from 0307 I'll put up in my browser and…you can see I have the sentence that says by default browsers will ignore any…white space after the first space.…
To add additional white space you must use the non breaking space entities.…So you can see I've got the HTML character entity there for that, so…to kind of experiment around with that a little bit, I've got the same file opened…up in my code editor, and I am going to do just what I suggest,…I'm going to try it right here inside this paragraph between these two sentences.…I'm going to add a lot of white space.…All right.…So you can see there's a lot of white space between the first sentence and…the second sentence, even though they're in the same paragraph.…
Author
Updated
3/30/2017Released
3/16/2015- Why is HTML important?
- Exploring an HTML document
- Formatting content
- Displaying images
- Using nav, article, and div elements
- Linking to pages and downloadable content
- Creating lists
- Controlling styling (fonts, colors, and more)
- Writing basic scripts
Skill Level Beginner
Duration
Views
Related Courses
-
Creating a Responsive HTML Email
with Chris Converse1h 43m Beginner
-
Introduction
-
Welcome1m
-
Using the exercise files1m 8s
-
-
1. Introducing HTML
-
The importance of HTML3m 20s
-
Basic HTML syntax8m 42s
-
The current state of HTML5m 54s
-
HTML resources5m 28s
-
Choosing a code editor5m 41s
-
-
2. Basic Page Structure
-
Exploring an HTML document5m 27s
-
The document head6m 11s
-
The document body3m 58s
-
Understanding content models6m 39s
-
-
3. Formatting Page Content
-
Formatting content with HTML6m 58s
-
Using headings7m 50s
-
Formatting paragraphs5m 35s
-
Controlling line breaks3m 46s
-
Emphasizing text6m 53s
-
Controlling whitespace3m 37s
-
Displaying images7m 8s
-
-
4. Structuring Content
-
The value of structure2m 48s
-
Controlling document outlines10m 40s
-
The nav element5m 32s
-
The article element5m 19s
-
The section element5m 12s
-
The aside element4m 56s
-
The div element6m 4s
-
Other semantic elements9m 39s
-
Using WAI-ARIA roles6m 35s
-
-
5. Creating Links
-
Exploring the anchor element2m 58s
-
Linking to external pages4m 18s
-
Linking to page regions9m 46s
-
Challenge: Creating links3m 49s
-
Solution: Creating links5m 52s
-
-
6. Creating Lists
-
Unordered lists6m 5s
-
Definition lists7m 49s
-
Challenge: Creating lists4m 18s
-
Solution: Creating lists4m 28s
-
-
7. Controlling Styling
-
HTML and CSS5m 34s
-
Creating inline styles4m 13s
-
The style element6m 20s
-
Controlling typography11m 58s
-
Adding color6m 55s
-
Externalizing styles6m 57s
-
-
8. Basic Scripting
-
HTML and JavaScript4m 51s
-
The script element5m 56s
-
Writing a function4m 8s
-
Using the DOM6m 30s
-
Listening for an event6m 49s
-
Responding to events5m 30s
-
Externalizing JavaScript5m 15s
-
-
Conclusion
-
Next steps2m 16s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Controlling whitespace