check thumbs-o-up twitter github desktop tablet folder-o wordpress


Default styles for headings, paragraphs, blockquote, lists elements and other markups and formatting.

The default font-size is defined as 1.6rem (16px) with line-height of 1.6 (24px). We define the following system font-stack for the body:

font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;


HTML headings <h1> through <h6> have the following default sizes. A margin top of 1.5em is assigned to each of the heading tags. You can assign a custom margin using the margin utility classes.

Heading 1 2.25rem (36px)

Heading 2 1.875rem (30px)

Heading 3 1.5rem (24px)

Heading 4 1.25rem (20px)

Heading 5 1.12rem (18px)
Heading 6 1rem (16px)
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>

Headings Classes

Additionally .h1 through .h6 classes are also available for adding heading style to non-heading elements. Since this only applies to the heading size, the resulting style does not have font-weight or top margin applied. You can use the utility classes to apply the same or use relevant markup such as <strong>.

Heading 1

Heading 2

Applying Heading 3, Heading 4, Heading 5 stlye inside paragraph.

<div class="h1 mt">Heading 1</div>
<p class="h2">Heading 2</p>
 <span class="h3">Heading 3</span>,
 <span class="h4">Heading 4</span>,
 <strong class="h5">Heading 5</strong>,
 stlye inside paragraph.


Single line blockquote:

Stay hungry. Stay foolish.

 <p>Stay hungry. Stay foolish.</p>

Multi line blockquote with a cite reference:

People think focus means saying yes to the thing you’ve got to focus on. But that’s not what it means atall. It means saying no to the hundred other good ideas that there are. You have to pick carefully. I’m actually as proud of the things we haven’t done as the things I have done. Innovation is saying no to 1,000 things.

Steve Jobs – Apple Worldwide Developers’ Conference, 1997
 <p>People think focus means saying yes to ...</p>
 <cite>Steve Jobs – Apple Worldwide Developers’ Conference, 1997</cite>


These supported tags come from the code FAQ.

Address Tag

1 Infinite Loop
Cupertino, CA 95014
United States

Anchor Tag (aka. Link)

This is an example of a link.

Abbreviation Tag

The abbreviation srsly stands for “seriously”.

Acronym Tag

The acronym ftw stands for “for the win”.

Big Tag

These tests are a big deal, but this tag is no longer supported in HTML5.

Cite Tag

“Code is poetry.” —Automattic

Code Tag

You will learn later on in these tests that word-wrap: break-word; will be your best friend.

Delete Tag

This tag will let you strikeout text, but this tag is no longer supported in HTML5 (use the <strike> instead).

Emphasize Tag

The emphasize tag should italicize text.

Insert Tag

This tag should denote inserted text.

Keyboard Tag

This scarsly known tag emulates keyboard text, which is usually styled like the <code> tag.

Preformatted Tag

This tag styles large blocks of code.

.post-title {
    margin: 0 0 5px;
    font-weight: bold;
    font-size: 38px;
    line-height: 1.2;

Quote Tag

Developers, developers, developers… –Steve Ballmer

Strong Tag

This tag shows bold text.

Subscript Tag

Getting our science styling on with H2O, which should push the “2” down.

Superscript Tag

Still sticking with science and Albert Einstein’s E = MC2, which should lift the “2” up.

Teletype Tag

This rarely used tag emulates teletype text, which is usually styled like the <code> tag.

Variable Tag

This allows you to denote variables.

Want to contribute to the documentation? Edit this page on Github.