Typography
All typographic elements were carefully thought through and are brand compliant. Usage of the common HTML elements like headings, lists or tables will result in a seamless final design.
Headings
Example
h1. Headline 1
h2. Headline 2
h3. Headline 3
h4. Headline 4
h5. Headline 5
h6. Headline 6
<h1>h1. Headline 1</h1> <h2>h2. Headline 2</h2> <h3>h3. Headline 3</h3> <h4>h4. Headline 4</h4> <h5>h5. Headline 5</h5> <h6>h6. Headline 6</h6>
Create lighter, slightly smaller secondary text in any heading with a generic <small> tag or the .small class.
Example
h1. Headline 1 Secondary text
h2. Headline 2 Secondary text
h3. Headline 3 Secondary text
h4. Headline 4 Secondary text
h5. Headline 5 Secondary text
h6. Headline 6 Secondary text
<h1>h1. Headline 1 <small>Secondary text</small></h1> <h2>h2. Headline 2 <small>Secondary text</small></h2> <h3>h3. Headline 3 <small>Secondary text</small></h3> <h4>h4. Headline 4 <small>Secondary text</small></h4> <h5>h5. Headline 5 <small>Secondary text</small></h5> <h6>h6. Headline 6 <small>Secondary text</small></h6>
Body copy
Example
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.
Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
<p>...</p>
Lead body copy
Example
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
<p class="lead">...</p>
Inline text elements
Marked text
Example
You can use the mark tag to highlight text.
You can use the mark tag to <mark>highlight</mark> text.
Deleted text
Example
This line of text is meant to be treated as deleted text.
<del>This line of text is meant to be treated as deleted text.</del>
Strikethrough text
Example
This line of text is meant to be treated as no longer accurate.
<s>This line of text is meant to be treated as no longer accurate.</s>
Inserted text
Example
This line of text is meant to be treated as an addition to the document.
<ins>This line of text is meant to be treated as an addition to the document.</ins>
Underlined text
Example
This line of text will render as underlined
<u>This line of text will render as underlined</u>
Small text
Example
This line of text is meant to be treated as fine print.
<small>This line of text is meant to be treated as fine print.</small>
Bold text
Example
The following snippet of text is rendered as bold text.
<strong>rendered as bold text</strong>
Italics
Example
The following snippet of text is rendered as italicized text.
<em>rendered as italicized text</em>
Alignment classes
Example
Left aligned text.
Center aligned text.
Right aligned text.
Justified text.
No wrap text.
<p class="text-left">Left aligned text.</p> <p class="text-center">Center aligned text.</p> <p class="text-right">Right aligned text.</p> <p class="text-justify">Justified text.</p> <p class="text-nowrap">No wrap text.</p>
Transformation classes
Example
Lowercased text.
Uppercased text.
Capitalized text.
<p class="text-lowercase">Lowercased text.</p> <p class="text-uppercase">Uppercased text.</p> <p class="text-capitalize">Capitalized text.</p>
Abbreviations
Basic abbreviation
Example
An abbreviation of the word attribute is attr. Hover over the abbreviation to see the tooltip.
<abbr title="attribute">attr</abbr>
Initialism
Example
HTML is the best thing since sliced bread.
<abbr title="HyperText Markup Language" class="initialism">HTML</abbr>
Addresses
Example
Here are two examples of how the <address> tag can be used:
795 Folsom Ave, Suite 600
San Francisco, CA 94107
P: (123) 456-7890Full Name
first.last@gmail.com
<address> <strong>Your Company, Inc.</strong><br> 795 Folsom Ave, Suite 600<br> San Francisco, CA 94107<br> <abbr title="Phone">P:</abbr> (123) 456-7890 </address> <address> <strong>Full Name</strong><br> <a href="mailto:#">first.last@example.com</a> </address>
Blockquotes
Example blockquotes
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
Someone famous in Body of work
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
Someone famous in Body of work
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
<small>Someone famous</small>
</blockquote>
To float your blockquote to the right, add class="blockquote-reverse":
Lists
Unordered
<ul>
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Ordered
<ol>
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Unstyled
<ul class="list-unstyled">
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Inline
<ul class="list-inline">
- Lorem ipsum
- Phasellus iaculis
- Nulla volutpat
Description
<dl>
- Description lists
- A description list is perfect for defining terms.
- Euismod
- Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
- Donec id elit non mi porta gravida at eget metus.
- Malesuada porta
- Etiam porta sem malesuada magna mollis euismod.
Horizontal description
<dl class="dl-horizontal">
- Description lists
- A description list is perfect for defining terms.
- Euismod
- Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
- Donec id elit non mi porta gravida at eget metus.
- Malesuada porta
- Etiam porta sem malesuada magna mollis euismod.
Code
User input
Use the <kbd> to indicate input that is typically entered via keyboard.
Example
To switch directories, type cd followed by the name of the directory.
To edit settings, press ctrl + ,
To switch directories, type <kbd>cd</kbd> followed by the name of the directory.
Sample output
For indicating blocks sample output from a program use the <samp> tag.
Example
This text is meant to be treated as sample output from a computer program.
<samp>This text is meant to be treated as sample output from a computer program.</samp>
Inline text Elements
You can use the mark tag to highlight text. - <mark>This line of text is meant to be treated as fine print. - <small>
Abbreviation hover tooltips can be added such as HTML can be added - <abbr>
Blockquotes
A well-known quote, contained in a blockquote element.
Sourced Titles
A well-known quote, contained in a blockquote element.