Styleguide

HTML Placeholder Content for Testing Styles (h1)

This is a sample post. It is designed to test the presentation of range of standard content elements. To be specific, these are the non-structured, elements that would make up the main content of a generic page, post, or article. This content is CMS agnostic and Markdown-friendly. A properly configured editor should support (and perhaps even be limited to) the set of elements on this page.

  • Vanilla HTML, No classes.
  • All content can be generated from basic Markdown.
  • No external requirements, e.g. normalize, reset.

This is a major heading (h2)

If you peek at it with a web inspector, you'll see that it is an H2. There should only be one first level heading per page and it should be reserved for the page title itself. In most CMSes this title field is separate from the main content body and its placement is controlled at the template level, ideally with a custom class attribute. Consult the HTML5 outlining algorithm for best practice.

There's nothing stopping you from using H3, H4, or H5. They are all appropriately styled with a nod to Bringhurst, and you can check out a preview of how they look below.

This is a third-level heading (h3)

Here, have some slipsum in a <blockquote>:

Now that we know who you are, I know who I am. I'm not a mistake! It all makes sense! In a comic, you know how you can tell who the arch-villain's going to be? He's the exact opposite of the hero. And most times they're friends, like you and me! I should've known way back when... You know why, David? Because of the kids. They called me Mr Glass.

This is a fourth-level heading (h4)

Down here we are quite in the weeds already. I guess this is a good a time as any to say that lists are appropriately styled:

Milkshake ingredients to get at the supermarket (h5)
  • Bananas
  • Cocoa
  • Milk

Add bananas, chocolate milk powder, and milk to blender. Blend at high-speed until suitably frothy. Drink and then instagram a pic of your milkshake moustache for extra hipster cool points or something.

Steps to recovery from milkshake addiction (h5)
  1. Discard your blender to remove temptation.
  2. Don't make milkshakes.
  3. Repeat step 2 until unreasonable desire for milkshakes has abated.

Both of the preceding lists were subtitled with fifth-level headings. Sixth level headings are usually displayed as minor label elements and usually displayed in the font-size as the body text itself (sometimes in bold, italic, or a lighter color).

Also: Images

You can embed images in posts too, and they'll respect the width of your browser:

example-blue-1

A placeholder image of the number 1 on a blue background


Long headings with strong sections

Now let's increase the length of the header so that it wraps to more than one line. This will test our line-height.

H1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna.

H2 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.

H3 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation incididunt ut labore.

H4 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum

H5 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
H6 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum enim ad.