Markup: HTML Tags and Formatting
Headingsn
Header one
n
Header two
n
Header three
n
Header four
n
Header five
n
Header six
n
Blockquotes
nSingle line blockquote:n
Stay hungry. Stay foolish.
nMulti line blockquote with a cite reference:n
The HTML
<blockquote>Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <a href=”https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite” title=”The HTML Citation Element represents a reference to a creative work. It must include the title of a work or a URL reference, which may be in an abbreviated form according to the conventions used for the addition of citation metadata.”><cite>element.
nmultiple contributors – MDN HTML element reference – blockquoten
Tables
n
| 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 x 1,000. |
| Jane Bloggs | $100B | With hair like that?! Enough said… |
n
Definition Lists
n
- n
- 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 will explain this one.
n
n
n
n
n
n
n
n
n
Unordered Lists (Nested)
n
- n
- List item onen
- n
- List item onen
- n
- List item one
- List item two
- List item three
- List item four
n
n
n
n
n
- List item two
- List item three
- List item four
n
n
n
n
n
- List item onen
- List item two
- List item three
- List item four
n
n
n
n
n
Ordered List (Nested)
n
- n
- List item one -start at 8n
- n
- List item onen
- n
- List item one -reversed attribute
- List item two
- List item three
- List item four
n
n
n
n
n
- List item two
- List item three
- List item four
n
n
n
n
n
- List item onen
- List item two
- List item three
- List item four
n
n
n
n
n
HTML Tags
nThese supported tags come from the WordPress.com code FAQ.nnAddress Tagnn
1 Infinite LoopnCupertino, CA 95014nUnited StatesAnchor Tag (aka. Link)nnThis is an example of a link.nnAbbreviation TagnnThe abbreviation srsly stands for “seriously”.nnAcronym Tag (deprecated in HTML5)nnThe acronym ftw stands for “for the win”.nnBig Tag (deprecated in HTML5)nnThese tests are a big deal, but this tag is no longer supported in HTML5.nnCite Tagnn”Code is poetry.” —AutomatticnnCode TagnnThis tag styles blocks of code.n.post-title {nmargin: 0 0 5px;nfont-weight: bold;nfont-size: 38px;nline-height: 1.2;nand 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;n}nYou will learn later on in these tests that word-wrap: break-word; will be your best friend.nnDelete TagnnThis tag will let you strike out text, but this tag is recommended supported in HTML5 (use the <s> instead).nnEmphasize TagnnThe emphasize tag should italicize text.nnHorizontal Rule Tagnn
nnThis sentence is following a <hr /> tag.nnInsert TagnnThis tag should denote inserted text.nnKeyboard TagnnThis scarcely known tag emulates keyboard text, which is usually styled like the <code> tag.nnPreformatted TagnnThis tag is for preserving whitespace as typed, such as in poetry or ASCII art.n
The Road Not Taken
n
Robert Frostnnn Two roads diverged in a yellow wood,n And sorry I could not travel both (\_/)n And be one traveler, long I stood (='.'=)n And looked down one as far as I could (")_(")n To where it bent in the undergrowth;nn Then took the other, as just as fair,n And having perhaps the better claim, |\_/|n Because it was grassy and wanted wear; / @ @ \n Though as for that the passing there ( > º < )n Had worn them really about the same, `>>x<<´n / O \n And both that morning equally layn In leaves no step had trodden black.n Oh, I kept the first for another day!n Yet knowing how way leads on to way,n I doubted if I should ever come back.nn I shall be telling this with a sighn Somewhere ages and ages hence:n Two roads diverged in a wood, and I—n I took the one less traveled by,n And that has made all the difference.nnn 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;n nQuote Tag for short, inline quotesnnDevelopers, developers, developers…
–Steve BallmernnStrike Tag (deprecated in HTML5) and S TagnnThis tag shows strike-through text.nnSmall TagnnThis tag shows smaller text.nnStrong TagnnThis tag shows bold text.nnSubscript TagnnGetting our science styling on with H2O, which should push the “2” down.nnSuperscript TagnnStill sticking with science and Albert Einstein’s E = MC2, which should lift the 2 up.nnTeletype Tag(obsolete in HTML5)nnThis rarely used tag emulates teletype text, which is usually styled like the <code> tag.nnUnderline Tag deprecated in HTML 4, re-introduced in HTML5 with other semanticsnnThis tag shows underlined text.nnVariable TagnnThis allows you to denote variables.
