diff --git a/templates/body_template.html b/templates/body_template.html index 837c4bb..fe0fcb0 100644 --- a/templates/body_template.html +++ b/templates/body_template.html @@ -6,7 +6,7 @@ Basic HTML document - Page content - The main page content appears inside the body tag. HTML contains several elements that allow you to properly structure and format your content, which we'll cover later. +

Page content

+ The main page content appears inside the body tag. HTML contains several elements that allow you to properly structure and format your content, which we'll cover later. \ No newline at end of file diff --git a/templates/headings_template.html b/templates/headings_template.html index 8b39af1..8ad02f4 100644 --- a/templates/headings_template.html +++ b/templates/headings_template.html @@ -5,14 +5,14 @@ Formatting page content - HTML Essential Training - Formatting page content +

HTML Essential Training

+

Formatting page content

In this series of exercises, we'll explore how to use HTML elements to format basic page content. - Adding headings +

Adding headings

Headings help define the structure of the page and control the hierarchy of the content. You can use heading values ranging from a top-level heading of h1 all the way down to an h6. While there are several competing theories on the exact strategy to use when choosing headings, what really matters is that you are using them in an intelligent manner, to accurately reflect the importance of your content. It's also important to be consistent in how you use headings across your site, so deciding on when and how to use headings is an important part of planning your site. - Using paragraphs +

Using paragraphs

The paragraph tag (⟨p⟩) is one of the most basic formatting tags, and one that you'll use often. It indicates a paragraph of text, and should be used for each individual paragraph. - Line breaks +

Line breaks

Occasionally you'll need to perform a "soft return," that is, create a new line without using a new paragraph. To do that in HTML, you use the line break tag (⟨br⟩). Line break tags are inline, meaning you can use them within headers and paragraphs, and don't require a closing tag. Let's say you were formatting an address, for example. You could use line breaks to make sure each line of the address appeared on a separate line, but still remained within the same paragraph. lynda.com 6410 Via Real Carpinteria, CA 93103. diff --git a/templates/models_template.html b/templates/models_template.html index 2f6ec67..061b954 100644 --- a/templates/models_template.html +++ b/templates/models_template.html @@ -6,10 +6,10 @@ Content models - Content models - In HTML 4 there were only two main content models, block and inline level elements. Block level elements would stack on top of each other in normal document flow while inline level elements typically appear within the flow of text content. - In this example the heading 1 and the paragraphs are block level items, while the bold tags and the link below are examples of inline level elements. - In HTML5 new content models have been created to expand the structure and semantic capabilities of HTML. There are seven main models: Flow, Metadata, Embedded, Interactive, Heading, Phrasing, and Sectioning. To learn more about them, visit the interactive graphic contained in the W3C HTML5 specfication. +

Content models

+ In HTML 4 there were only two main content models, block and inline level elements. Block level elements would stack on top of each other in normal document flow while inline level elements typically appear within the flow of text content.

+ In this example the heading 1 and the paragraphs are block level items, while the bold tags and the link below are examples of inline level elements.

+ In HTML5 new content models have been created to expand the structure and semantic capabilities of HTML. There are seven main models: Flow, Metadata, Embedded, Interactive, Heading, Phrasing, and Sectioning. To learn more about them, visit the interactive graphic contained in the W3C HTML5 specfication. diff --git a/templates/syntax_template.html b/templates/syntax_template.html index 6862e5a..a19309b 100644 --- a/templates/syntax_template.html +++ b/templates/syntax_template.html @@ -1 +1 @@ -HTML uses tags to identify page content. This text, for example, is a paragraph. \ No newline at end of file +HTML uses tags to identify page content. This text, for example, is a paragraph. \ No newline at end of file