×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: ActionScript
Posted by: Tom Barasa
Added: Aug 31, 2015 6:31 AM
Views: 4
Tags: no tags
  1. <!DOCTYPE html>
  2. <html lang="en"
  3.  
  4.   <head>
  5.         <meta charset="UTF-8">
  6.         <meta name="description" content="A page for exploring basic HTML document">
  7.         <title>Basic HTML document</title>
  8.     </head>
  9.     <body>
  10.         <h1>HTML Essential Training</h1>
  11.         <h2>Formatting page content</h2>
  12.             <p>In this series of exercises, we'll explore how to use HTML elements to format basic page content.</P>
  13.        <h3>Adding headings</h3>
  14.            <p>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.</p>
  15.         <h4>Using paragraphs</h4>
  16.             <p>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.</P>
  17.        <h5>Line breaks</h5>
  18.            <p>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<br> 6410 Via Real<br> Carpinteria, CA 93103.</p>
  19.      
  20.     </body>
  21. </html>
  22.