This is Heading 1

This is Heading 2

This is Heading 3

This is Heading4

THIS IS HEADING 5
This is Heading 6

Heading commands create nice, bold text, as shown above, and are quite easy to use. It’s a simple H# and /H# command. However, they like to be alone.

Instead of looking at the headings above and seeing text, I want you to draw an imaginary box, the height of the text and the width of the screen.

Something like this actually:

The heading takes up the entire width available to it.

This is because, like the P tag, it’s a block level element. This means it likes to be a block shape on your page, and it will start new lines around itself. It will be the full width of the screen unless you specify otherwise.

The other option is an in-line element. These ones don’t create new lines around themselves. If you guessed Strong and Em fell into this category then you’re really getting the hang of this!

  1. mauris quisque rutrum augue eleifend
  2. ullamcorper ipsum varius leo scelerisque vel dignissim
  3. duis dolor donec sagittis. Imperdiet metus class elementum
  4. mi ad ullamcorper hendrerit nullam parturient penatibus
  5. ullamcorper ad consectetur habitant sit.

In-line elements should always be contained in a Block level element.

Once you learn a little CSS in a few of the next primers, you’ll be able to customize them to appear exactly as you want.

  • Ac ridiculus urna mus condimentum blandit urna et
  • neque penatibus potenti id torquent ipsum parturient a
  • auctor diam vestibulum himenaeos adipiscing vestibulum tincidunt non a.
  • Gravida pretium vestibulum eu urna purus a diam metus suspendisse
  • interdum adipiscing parturient adipiscing sem nulla.
  • Purus leo sed suspendisse a consectetur posuere