2016-02-24 17:55:03 +01:00
---
title: "Markup: HTML Tags and Formatting"
2016-03-25 16:18:18 +01:00
header:
teaser: "markup-syntax-highlighting-teaser.jpg"
2016-02-24 17:55:03 +01:00
categories:
- Markup
tags:
- content
- css
- formatting
- html
- markup
---
2016-03-07 15:51:50 +01:00
2016-03-25 16:18:18 +01:00
A variety of common markup showing how the theme styles them.
2016-02-24 17:55:03 +01:00
# Header one
## Header two
### Header three
#### Header four
##### Header five
###### Header six
## Blockquotes
Single line blockquote:
> Stay hungry. Stay foolish.
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 at all. 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.
< cite > Steve Jobs< / cite > --- Apple Worldwide Developers' Conference, 1997
## Tables
2016-03-11 21:55:06 +01:00
| Employee | Salary | |
| -------- | ------ | ------------------------------------------------------------ |
| [John Doe ](# ) | $1 | Because that's all Steve Jobs needed for a salary. |
| [Jane Doe ](# ) | $100K | For all the blogging she does. |
| [Fred Bloggs ](# ) | $100M | Pictures are worth a thousand words, right? So Jane × 1,000. |
| [Jane Bloggs ](# ) | $100B | With hair like that?! Enough said. |
2016-02-24 17:55:03 +01:00
2016-02-24 22:12:21 +01:00
| Header1 | Header2 | Header3 |
|:--------|:-------:|--------:|
| cell1 | cell2 | cell3 |
| cell4 | cell5 | cell6 |
2016-03-11 21:55:06 +01:00
|-----------------------------|
2016-02-24 22:12:21 +01:00
| cell1 | cell2 | cell3 |
| cell4 | cell5 | cell6 |
2016-03-11 21:55:06 +01:00
|=============================|
| Foot1 | Foot2 | Foot3 |
2016-02-24 22:12:21 +01:00
2016-02-24 17:55:03 +01:00
## Definition Lists
Definition List Title
: Definition list division.
Startup
: A startup company or startup is a company or temporary organization designed to search for a repeatable and scalable business model.
#dowork
: Coined by Rob Dyrdek and his personal body guard Christopher "Big Black" Boykins, "Do Work" works as a self motivator, to motivating your friends.
Do It Live
: I'll let Bill O'Reilly [explain ](https://www.youtube.com/watch?v=O_HyZ5aW76c "We'll Do It Live" ) this one.
## Unordered Lists (Nested)
* List item one
* List item one
* List item one
* List item two
* List item three
* List item four
* List item two
* List item three
* List item four
* List item two
* List item three
* List item four
## Ordered List (Nested)
1. List item one
1. List item one
1. List item one
2. List item two
3. List item three
4. List item four
2. List item two
3. List item three
4. List item four
2. List item two
3. List item three
4. List item four
2016-02-24 22:12:21 +01:00
## Buttons
Make any link standout more when applying the `.btn` class.
```html
2016-03-11 21:55:06 +01:00
< a href = "#" class = "btn--success" > Success Button< / a >
2016-02-24 22:12:21 +01:00
```
[Primary Button ](# ){: .btn}
2016-03-11 21:55:06 +01:00
[Success Button ](# ){: .btn .btn--success}
[Warning Button ](# ){: .btn .btn--warning}
[Danger Button ](# ){: .btn .btn--danger}
[Info Button ](# ){: .btn .btn--info}
2016-03-29 03:48:42 +02:00
[Inverse Button ](# ){: .btn .btn--inverse}
[Light Outline Button ](# ){: .btn .btn--light-outline}
2016-02-24 22:12:21 +01:00
```markdown
[Primary Button Text ](#link ){: .btn}
2016-03-11 21:55:06 +01:00
[Success Button Text ](#link ){: .btn .btn--success}
[Warning Button Text ](#link ){: .btn .btn--warning}
[Danger Button Text ](#link ){: .btn .btn--danger}
[Info Button Text ](#link ){: .btn .btn--info}
2016-03-29 03:48:42 +02:00
[Inverse Button ](#link ){: .btn .btn--inverse}
[Light Outline Button ](#link ){: .btn .btn--light-outline}
2016-02-24 22:12:21 +01:00
```
2016-03-24 17:14:40 +01:00
[X-Large Button ](# ){: .btn .btn--x-large}
[Large Button ](# ){: .btn .btn--large}
[Default Button ](# ){: .btn}
[Small Button ](# ){: .btn .btn--small}
```markdown
2016-03-29 03:48:42 +02:00
[X-Large Button ](#link ){: .btn .btn--x-large}
[Large Button ](#link ){: .btn .btn--large}
[Default Button ](#link ){: .btn}
[Small Button ](#link ){: .btn .btn--small}
2016-03-24 17:14:40 +01:00
```
2016-02-24 22:12:21 +01:00
## Notices
**Watch out!** You can also add notices by appending `{: .notice}` to a paragraph.
{: .notice}
2016-02-24 17:55:03 +01:00
## HTML Tags
2016-02-24 22:12:21 +01:00
### Address Tag
2016-02-24 17:55:03 +01:00
< address >
1 Infinite Loop< br / > Cupertino, CA 95014< br / > United States
< / address >
2016-02-24 22:12:21 +01:00
### Anchor Tag (aka. Link)
2016-02-24 17:55:03 +01:00
This is an example of a [link ](http://apple.com "Apple" ).
2016-02-24 22:12:21 +01:00
### Abbreviation Tag
2016-02-24 17:55:03 +01:00
The abbreviation CSS stands for "Cascading Style Sheets".
*[CSS]: Cascading Style Sheets
2016-02-24 22:12:21 +01:00
### Cite Tag
2016-02-24 17:55:03 +01:00
"Code is poetry." ---< cite > Automattic< / cite >
2016-02-24 22:12:21 +01:00
### Code Tag
2016-02-24 17:55:03 +01:00
You will learn later on in these tests that `word-wrap: break-word;` will be your best friend.
2016-02-24 22:12:21 +01:00
### Strike Tag
2016-02-24 17:55:03 +01:00
This tag will let you < strike > strikeout text< / strike > .
2016-02-24 22:12:21 +01:00
### Emphasize Tag
2016-02-24 17:55:03 +01:00
The emphasize tag should _italicize_ text.
2016-02-24 22:12:21 +01:00
### Insert Tag
2016-02-24 17:55:03 +01:00
This tag should denote < ins > inserted< / ins > text.
2016-02-24 22:12:21 +01:00
### Keyboard Tag
2016-02-24 17:55:03 +01:00
This scarcely known tag emulates < kbd > keyboard text</ kbd > , which is usually styled like the `<code>` tag.
2016-02-24 22:12:21 +01:00
### Preformatted Tag
2016-02-24 17:55:03 +01:00
This tag styles large blocks of code.
< pre >
.post-title {
margin: 0 0 5px;
font-weight: bold;
font-size: 38px;
line-height: 1.2;
and here's a line of some really, really, really, really long text, just to see how the PRE tag handles it and to find out how it overflows;
}
< / pre >
2016-02-24 22:12:21 +01:00
### Quote Tag
2016-02-24 17:55:03 +01:00
< q > Developers, developers, developers… < / q > – Steve Ballmer
2016-02-24 22:12:21 +01:00
### Strong Tag
2016-02-24 17:55:03 +01:00
This tag shows **bold text** .
2016-02-24 22:12:21 +01:00
### Subscript Tag
2016-02-24 17:55:03 +01:00
Getting our science styling on with H< sub > 2< / sub > O, which should push the "2" down.
2016-02-24 22:12:21 +01:00
### Superscript Tag
2016-02-24 17:55:03 +01:00
Still sticking with science and Isaac Newton's E = MC< sup > 2< / sup > , which should lift the 2 up.
2016-02-24 22:12:21 +01:00
### Variable Tag
2016-02-24 17:55:03 +01:00
This allows you to denote < var > variables< / var > .