Formatting & Markup Examples
This document provides examples of various bits of text-based content and related markup in use on the Urban Dater.
Headings
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.
Steve Jobs – Apple Worldwide Developers’ Conference, 1997
Text that breaks boundaries
If you simply add the class alignwide to a text block, whether it's a paragraph, blockquote, or heading, that text will break the boundaries of the content area like so…
I'm a simple paragraph block with a class added of alignwide. Pretty cool huh? I thought you might like that a whole heck of a lot! So how do you add alignwide to a block? In the right hand panel, under Advanced simply type alignwide in the Additional CSS Classes field.
What about me? I'm a blockquote with alignwide set. Per mattis volutpat iaculis tempus dictumst rhoncus ornare mi maecenas, interdum donec venenatis malesuada nisi viverra amet vivamus, ridiculus facilisi congue vulputate cras a massa placerat.
— A cool person
One thing to be aware of is that when you add alignwide to a block, make sure to add padding around it, too. 1rem should do it!
Tables
Employee | Salary | |
---|---|---|
John Saddington | $1 | Because that’s all Steve Job’ needed for a salary. |
Tom McFarlin | $100K | For all the blogging he does. |
Jared Erickson | $100M | Pictures are worth a thousand words, right? So Tom x 1,000. |
Chris Ames | $100B | With hair like that?! Enough said… |
Definition Lists
Definition List TitleDefinition list division. A startup company or startup is a company or temporary organization designed to search for a repeatable and scalable business model.#doworkCoined by Rob Dyrdek and his personal bodyguard Christopher “Big Black” Boykins, “Do Work” works as a self-motivator, to motivating your friends. Do It LiveI’ll let Bill O’Reilly will explain 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 one
- List item two
- List item three
- List item four
Ordered List (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
HTML Tags
These supported tags come from the WordPress.com code FAQ.
Address Tag1 Infinite Loop
Cupertino, CA 95014
United States
Anchor Tag (aka. Link)
This is an example of a link.
Abbreviation Tag
The abbreviation srsly stands for “seriously”.
Acronym Tag
The acronym ftw stands for “for the win”.
Big Tag
These tests are a big deal, but this tag is no longer supported in HTML5.
Cite Tag
“Code is poetry.” —Automattic
Code Tag
You will learn later on in these tests that word-wrap: break-word;
will be your best friend.
Delete Tag
This tag will let you strikeout text, but this tag is no longer supported in HTML5 (use the <strike>
instead).
Emphasize Tag
The emphasize tag should italicize text.
Insert Tag
This tag should denote inserted text.
Keyboard Tag
This scarcely known tag emulates keyboard text, which is usually styled like the <code>
tag.
Links and Text
This is how a standard link appears within a piece of content. Links that point to other websites open in a new window/tab.
Preformatted Tag
This tag styles large blocks of code.
.post-title { margin: 0 0 5px; font-weight: bold; font-size: 38px; line-height: 1.2; }
Quote Tag
Developers, developers, developers…
–Steve Ballmer
Strong Tag
This tag shows bold text.
Subscript Tag
Getting our science styling on with H2O, which should push the “2” down.
Superscript Tag
Still sticking with science and Albert Einstein’s E = MC2, which should lift the “2” up.
Teletype Tag
This rarely used tag emulates teletype text, which is usually styled like the <code>
tag.
Variable Tag
This allows you to denote variables.