Markup: HTML Tags and Formatting
Headings
Headings
Headings
Headings
Header one
Header two
Header three
Header four
Header five
Header six
Blockquotes
Single line blockquote:
Stay hungry. Stay foolish.
Stay hungry. Stay foolish.
Stay hungry. Stay foolish.
Multi line blockquote with a cite reference:
HTML <blockquote>
Element
<blockquote>
HTML Block Quotation Element
cite
<cite>
HTML <blockquote>
Element
<blockquote>
<blockquote>
HTML Block Quotation Element
cite
<cite>
multiple contributors – MDN HTML element reference – blockquote
multiple contributors
multiple contributors
multiple contributors
Tables
Definition Lists
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 one
- List item two
- List item three
- List item four
- 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 one
- List item one
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
- 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 one
- List item one
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
- 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 one
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
Ordered List (Nested)
- List item one -start at 8
- List item one
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
- List item one
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item one
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item one
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item one -reversed attribute
- List item two
- List item three
- List item four
HTML Tags
Address Tag
Address Tag
Address Tag
Address Tag
1 Infinite LoopCupertino, CA 95014
United States
Anchor Tag (aka. Link)
Anchor Tag (aka. Link)
Anchor Tag (aka. Link)
Anchor Tag (aka. Link)
Abbreviation Tag
Abbreviation Tag
Abbreviation Tag
Abbreviation Tag
The abbreviation srsly stands for “seriously”.
srsly
srsly
srsly
Acronym Tag (deprecated in HTML5)
Acronym Tag (deprecated in HTML5)
deprecated in HTML5
Acronym Tag (deprecated in HTML5)
deprecated in HTML5
Acronym Tag (deprecated in HTML5)
deprecated in HTML5
deprecated in HTML5
The acronym ftw stands for “for the win”.
ftw
ftw
ftw
Big Tag (deprecated in HTML5)
Big Tag
deprecated in HTML5
Big Tag
deprecated in HTML5
Big Tag
deprecated in HTML5
These tests are a big deal, but this tag is no longer supported in HTML5.
big
big
big
Cite Tag
Cite Tag
Cite Tag
Cite Tag
“Code is poetry.” —Automattic
Automattic
Automattic
Automattic
Code Tag
Code Tag
Code Tag
Code Tag
This tag styles blocks of code.
.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 it is handled and to find out how it overflows;
}
You will learn later on in these tests that word-wrap: break-word;will be your best friend.
.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 it is handled and to find out how it overflows;
}
.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 it is handled and to find out how it overflows;
}
.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 it is handled and to find out how it overflows;
}
Delete Tag
Delete Tag
Delete Tag
Delete Tag
This tag will let you strike out text, but this tag is recommended supported in HTML5 (use the <s>
instead).
strike out text
recommended
<s>
strike out text
recommended
<s>
strike out text
recommended
<s>
Emphasize Tag
Emphasize Tag
Emphasize Tag
Emphasize Tag
The emphasize tag should italicize text.
italicize
text
italicize
text
italicize
text
Horizontal Rule Tag
Horizontal Rule Tag
Horizontal Rule Tag
Horizontal Rule Tag
This sentence is following a <hr />
tag.
<hr />
<hr />
<hr />
Insert Tag
Insert Tag
Insert Tag
Insert Tag
This tag should denote inserted text.
inserted
inserted
inserted
Keyboard Tag
Keyboard Tag
Keyboard Tag
Keyboard Tag
This scarcely known tag emulates keyboard text, which is usually styled like the <code>
tag.
keyboard text
<code>
keyboard text
<code>
keyboard text
<code>
Preformatted Tag
Preformatted Tag
Preformatted Tag
Preformatted Tag
This tag is for preserving whitespace as typed, such as in poetry or ASCII art.
The Road Not Taken
Robert Frost Two roads diverged in a yellow wood, And sorry I could not travel both (_/) And be one traveler, long I stood (='.'=) And looked down one as far as I could (")_(") To where it bent in the undergrowth; Then took the other, as just as fair, And having perhaps the better claim, |_/| Because it was grassy and wanted wear; / @ @ Though as for that the passing there ( > º < ) Had worn them really about the same, `>>x<<´ / O And both that morning equally lay In leaves no step had trodden black. Oh, I kept the first for another day! Yet knowing how way leads on to way, I doubted if I should ever come back. I shall be telling this with a sigh Somewhere ages and ages hence: Two roads diverged in a wood, and I— I took the one less traveled by, And that has made all the difference. and here's a line of some really, really, really, really long text, just to see how it is handled and to find out how it overflows;
The Road Not Taken
Robert Frost
The Road Not Taken
Robert Frost
Robert Frost
Quote Tag for short, inline quotes
Quote Tag
Quote Tag
Quote Tag
Developers, developers, developers…
–Steve Ballmer
Developers, developers, developers…
Developers, developers, developers…
Developers, developers, developers…
Strike Tag (deprecated in HTML5) and S Tag
Strike Tag
deprecated in HTML5
S Tag
Strike Tag
deprecated in HTML5
S Tag
Strike Tag
deprecated in HTML5
S Tag
This tag shows strike-through text.
strike-through
text
strike-through
text
strike-through
text
Small Tag
Small Tag
Small Tag
Small Tag
This tag shows smaller text.
smaller text.
text.
smaller text.
text.
smaller text.
text.
text.
Strong Tag
Strong Tag
Strong Tag
Strong Tag
This tag shows bold text.
bold text.
text.
bold text.
text.
bold text.
text.
text.
Subscript Tag
Subscript Tag
Subscript Tag
Subscript Tag
Getting our science styling on with H2O, which should push the “2” down.
2
2
2
Superscript Tag
Superscript Tag
Superscript Tag
Superscript Tag
Still sticking with science and Albert Einstein’s E = MC2, which should lift the 2 up.
2
2
2
Teletype Tag (obsolete in HTML5)
Teletype Tag
obsolete in HTML5
Teletype Tag
obsolete in HTML5
Teletype Tag
obsolete in HTML5
This rarely used tag emulates teletype text, which is usually styled like the <code>
tag.
teletype text
<code>
teletype text
<code>
teletype text
<code>
Underline Tag deprecated in HTML 4, re-introduced in HTML5 with other semantics
Underline Tag
deprecated in HTML 4, re-introduced in HTML5 with other semantics
Underline Tag
deprecated in HTML 4, re-introduced in HTML5 with other semantics
Underline Tag
deprecated in HTML 4, re-introduced in HTML5 with other semantics
This tag shows underlined text.
underlined text
underlined text
underlined text
Variable Tag
Variable Tag
Variable Tag
Variable Tag
This allows you to denote variables.
variables
variables
variables