Skip to content

Instantly share code, notes, and snippets.

@andrewmartin
Created May 7, 2014 06:57
Show Gist options
  • Save andrewmartin/92c6a21a196f4b35f451 to your computer and use it in GitHub Desktop.
Save andrewmartin/92c6a21a196f4b35f451 to your computer and use it in GitHub Desktop.
wordpress sample data
<strong class="style-label">Headings</strong>
<h1>Header one</h1>
<h2>Header two</h2>
<h3>Header three</h3>
<h4>Header four</h4>
<h5>Header five</h5>
<h6>Header six</h6>
<strong class="style-label">Blockquotes</strong class="style-label">
Single line blockquote:
<blockquote>Stay hungry. Stay foolish.</blockquote>
Multi line blockquote with a cite reference:
<blockquote>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 - Apple Worldwide Developers' Conference, 1997</cite></blockquote>
<strong class="style-label">Tables</strong class="style-label">
<table>
<tbody>
<tr>
<th>Employee</th>
<th class="views">Salary</th>
<th></th>
</tr>
<tr class="odd">
<td><a href="http://example.com/">Jane</a></td>
<td>$1</td>
<td>Because that's all Steve Job' needed for a salary.</td>
</tr>
<tr class="even">
<td><a href="http://example.com">John</a></td>
<td>$100K</td>
<td>For all the blogging he does.</td>
</tr>
<tr class="odd">
<td><a href="http://example.com/">Jane</a></td>
<td>$100M</td>
<td>Pictures are worth a thousand words, right? So Tom x 1,000.</td>
</tr>
<tr class="even">
<td><a href="http://example.com/">Jane</a></td>
<td>$100B</td>
<td>With hair like that?! Enough said...</td>
</tr>
</tbody>
</table>
<strong class="style-label">Definition Lists</strong class="style-label">
<dl><dt>Definition List Title</dt><dd>Definition list division.</dd><dt>Startup</dt><dd>A startup company or startup is a company or temporary organization designed to search for a repeatable and scalable business model.</dd><dt>#dowork</dt><dd>Coined by Rob Dyrdek and his personal body guard Christopher "Big Black" Boykins, "Do Work" works as a self motivator, to motivating your friends.</dd><dt>Do It Live</dt><dd>I'll let Bill O'Reilly will <a title="We'll Do It Live" href="https://www.youtube.com/watch?v=O_HyZ5aW76c">explain</a> this one.</dd></dl>
<strong class="style-label">Unordered Lists (Nested)</strong class="style-label">
<ul>
<li>List item one
<ul>
<li>List item one
<ul>
<li>List item one</li>
<li>List item two</li>
<li>List item three</li>
<li>List item four</li>
</ul>
</li>
<li>List item two</li>
<li>List item three</li>
<li>List item four</li>
</ul>
</li>
<li>List item two</li>
<li>List item three</li>
<li>List item four</li>
</ul>
<strong class="style-label">Ordered List (Nested)</strong class="style-label">
<ol>
<li>List item one
<ol>
<li>List item one
<ol>
<li>List item one</li>
<li>List item two</li>
<li>List item three</li>
<li>List item four</li>
</ol>
</li>
<li>List item two</li>
<li>List item three</li>
<li>List item four</li>
</ol>
</li>
<li>List item two</li>
<li>List item three</li>
<li>List item four</li>
</ol>
<strong class="style-label">HTML Tags</strong class="style-label">
These supported tags come from the WordPress.com code <a title="Code" href="http://en.support.wordpress.com/code/">FAQ</a>.
<strong class="style-label">Address Tag</strong>
<address>1 Infinite Loop
Cupertino, CA 95014
United States</address><strong class="style-label">Anchor Tag (aka. Link)</strong>
This is an example of a <a title="Apple" href="http://apple.com">link</a>.
<strong class="style-label">Abbreviation Tag</strong>
The abbreviation <abbr title="Seriously">srsly</abbr> stands for "seriously".
<strong class="style-label">Acronym Tag</strong>
The acronym <acronym title="For The Win">ftw</acronym> stands for "for the win".
<strong class="style-label">Big Tag</strong>
These tests are a <big>big</big> deal, but this tag is no longer supported in HTML5.
<strong class="style-label">Cite Tag</strong>
"Code is poetry." --<cite>Automattic</cite>
<strong class="style-label">Code Tag</strong>
You will learn later on in these tests that <code>word-wrap: break-word;</code> will be your best friend.
<strong class="style-label">Delete Tag</strong>
This tag will let you <del>strikeout text</del>, but this tag is no longer supported in HTML5 (use the <code>&lt;strike&gt;</code> instead).
<strong class="style-label">Emphasize Tag</strong>
The emphasize tag should <em>italicize</em> text.
<strong class="style-label">Insert Tag</strong>
This tag should denote <ins>inserted</ins> text.
<strong class="style-label">Keyboard Tag</strong>
This scarcely known tag emulates <kbd>keyboard text</kbd>, which is usually styled like the <code>&lt;code&gt;</code> tag.
<strong class="style-label">Preformatted Tag</strong>
This tag styles large blocks of code.
<pre>.post-title {
margin: 0 0 5px;
font-weight: bold;
font-size: 38px;
line-height: 1.2;
}</pre>
<strong class="style-label">Quote Tag</strong>
<q>Developers, developers, developers...</q> --Steve Ballmer
<strong class="style-label">Strong Tag</strong>
This tag shows <strong>bold<strong class="style-label"> text.</strong></strong>
<strong class="style-label">Subscript Tag</strong>
Getting our science styling on with H<sub>2</sub>O, which should push the "2" down.
<strong class="style-label">Superscript Tag</strong>
Still sticking with science and Isaac Newton's E = MC<sup>2</sup>, which should lift the 2 up.
<strong class="style-label">Teletype Tag</strong>
This rarely used tag emulates <tt>teletype text</tt>, which is usually styled like the <code>&lt;code&gt;</code> tag.
<strong class="style-label">Variable Tag</strong>
This allows you to denote <var>variables</var>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment