Markup: HTML Tags and Formatting

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:

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 <cite> element.

multiple contributors – MDN HTML element reference – blockquote

Tables

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…

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 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 two
  • List item three
  • List item four

Ordered List (Nested)

  1. List item one -start at 8
    1. List item one
      1. List item one -reversed attribute
      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

HTML Tags

These supported tags come from the WordPress.com code FAQ. Address Tag
1 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 (deprecated in HTML5) The acronym ftw stands for “for the win”. Big Tag (deprecated in HTML5) These tests are a big deal, but this tag is no longer supported in HTML5. Cite Tag “Code is poetry.” —Automattic 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. Delete Tag This tag will let you strike out text, but this tag is recommended supported in HTML5 (use the <s> instead). Emphasize Tag The emphasize tag should italicize text. Horizontal Rule Tag
This sentence is following a <hr /> tag. 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. 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;
Quote Tag for short, inline quotes Developers, developers, developers... --Steve Ballmer Strike Tag (deprecated in HTML5) and S Tag This tag shows strike-through text. Small Tag This tag shows smaller text. 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 (obsolete in HTML5) This rarely used tag emulates teletype text, which is usually styled like the <code> tag. Underline Tag deprecated in HTML 4, re-introduced in HTML5 with other semantics This tag shows underlined text. Variable Tag This allows you to denote variables.

Markup: Image Alignment

Welcome to image alignment! The best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let’s get started. On the topic of alignment, it should be noted that users can choose from the options of None, Left, Right, and Center. In addition, they also get the options of Thumbnail, Medium, Large & Fullsize.

Image Alignment 580x300

The image above happens to be centered. Image Alignment 150x150The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is left aligned. As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished! And now for a massively large image. It also has no alignment. Image Alignment 1200x400 The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content. Image Alignment 300x200 And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently. In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right. And just when you thought we were done, we’re going to do them all over again with captions!
Image Alignment 580x300
Look at 580×300 getting some caption love.
The image above happens to be centered. The caption also has a link in it, just to see if it does anything funky.
Image Alignment 150x150
Itty-bitty caption.
The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is left aligned. As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished! And now for a massively large image. It also has no alignment.
Image Alignment 1200x400
Massive image comment for your eyeballs.
The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.
Image Alignment 300x200
Feels good to be right all the time.
And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently. In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right. And that’s a wrap, yo! You survived the tumultuous waters of alignment. Image alignment achievement unlocked! One last thing: The last item in this post’s content is a thumbnail floated right. Make sure any elements after the content are clearing properly.

Diam id convallis eliefend iaculis

Diam id convallis eleifend iaculis a proin mi in a ac vestibulum tristique a fames a. Quisque fermentum maecenas a cubilia sociis leo rutrum proin a at mi massa vulputate hac lacus a curabitur duis a condimentum aliquam a praesent rutrum turpis justo etiam. A malesuada ullamcorper nulla magnis vel at nisi potenti lacinia mollis odio phasellus habitant montes duis diam condimentum. Suspendisse consectetur diam metus parturient convallis ut rhoncus sociosqu a adipiscing cursus dui pharetra ullamcorper facilisi blandit blandit hendrerit pharetra. Quis ut faucibus consequat lacinia imperdiet proin iaculis mi nulla per mi parturient leo facilisis ullamcorper at a suspendisse vivamus proin cursus a habitant mi praesent convallis adipiscing. Nisi et suscipit netus facilisis leo vestibulum rutrum tristique tempor dui purus placerat cursus imperdiet class. Phasellus curae parturient platea dui morbi mi ipsum dolor ridiculus vehicula nisl arcu leo fusce vivamus a a est sodales a a cursus. Taciti rutrum mi a a rutrum parturient adipiscing lorem hac ut rhoncus magna ultricies aliquet phasellus vestibulum est scelerisque sapien sem senectus neque gravida hac. Ut suspendisse fames morbi pulvinar aenean velit condimentum lectus suspendisse netus a elit auctor a lectus tincidunt a parturient imperdiet donec. At sem vestibulum aliquet pretium a cum hendrerit senectus interdum vestibulum dignissim senectus scelerisque consectetur nisi nunc. Purus a ultricies rhoncus amet condimentum elit parturient condimentum rutrum urna donec tristique ultricies ligula lacus erat quis non ut interdum maecenas ipsum fermentum a donec ridiculus parturient. Imperdiet primis tortor praesent lacus turpis feugiat primis a eu praesent nunc ut arcu a sit vitae a netus a ullamcorper mollis scelerisque diam molestie inceptos vestibulum. Pretium nulla malesuada condimentum inceptos porta ac a ornare bibendum metus quis feugiat mi in suspendisse. Nullam ultrices leo a bibendum suspendisse arcu aliquam sed condimentum at justo a molestie aliquet purus nascetur dictum molestie id a leo et. Non elementum venenatis id feugiat eget nec nisl ante parturient malesuada condimentum parturient scelerisque maecenas mus hac condimentum scelerisque ut a. Vestibulum conubia semper urna nisi vestibulum in potenti torquent parturient et non malesuada sem ad ac eros ac adipiscing eleifend. Est aliquam varius platea mus sed a accumsan parturient in posuere parturient lacus purus a. Suspendisse a adipiscing urna suscipit adipiscing fermentum massa metus vestibulum dignissim a penatibus scelerisque tempus parturient fermentum nec lorem mus a est tempus tristique scelerisque eu morbi parturient convallis. Pulvinar magna vel mi class vestibulum adipiscing at mattis scelerisque a aptent felis parturient maecenas et egestas a venenatis dictum ullamcorper. Sodales eu sit pharetra pharetra mus a pretium adipiscing nascetur cum vestibulum vestibulum fringilla dictumst libero semper sociis est. Dui tincidunt a consequat nam ad erat eros cum interdum natoque enim penatibus hac bibendum fusce odio condimentum a phasellus platea. Odio venenatis odio enim ac ligula conubia ipsum vulputate scelerisque montes cum adipiscing hendrerit dapibus vulputate vestibulum imperdiet suspendisse sapien consectetur erat scelerisque molestie eleifend dis consectetur. Odio purus hendrerit porta parturient vestibulum egestas turpis erat aliquet adipiscing dui cubilia id dis rhoncus a pretium ullamcorper per cum nam senectus bibendum. Ullamcorper integer interdum ac egestas pretium habitant at scelerisque nibh potenti himenaeos praesent parturient himenaeos. Ad lorem vestibulum sem lorem ipsum condimentum lacus duis lorem ligula gravida dui placerat sociosqu a placerat in felis vestibulum maecenas. A parturient facilisis egestas adipiscing pharetra et donec vestibulum suspendisse diam dictumst donec conubia condimentum primis primis vestibulum a tortor ligula per. Adipiscing sodales volutpat venenatis taciti et parturient a praesent conubia a ad vestibulum mus molestie non morbi turpis sed dis nascetur rutrum senectus integer condimentum pretium sodales a cum. Cursus adipiscing proin nulla scelerisque dapibus adipiscing lorem eget est a nibh et metus cursus a feugiat scelerisque curae. Mus condimentum adipiscing urna adipiscing dis nascetur vivamus nisi erat eros porta vestibulum curae vestibulum a molestie a pulvinar a a a parturient volutpat vel. Augue suspendisse facilisis parturient magna quisque curabitur vel pharetra nostra posuere mattis conubia quam nec sapien fames suspendisse per montes integer condimentum elementum inceptos. A eu eget sem imperdiet ante nullam parturient tincidunt condimentum quam proin ante vestibulum a justo nulla elementum dignissim neque habitant class parturient a erat aliquet morbi ipsum. Lobortis ad tristique consequat a netus vestibulum quisque ipsum non adipiscing sed mi condimentum mi parturient quis. A magna mi diam vestibulum vel rutrum a pharetra vestibulum eros fames montes fames sapien a purus fusce ullamcorper hac odio facilisis class orci penatibus. Nulla a eleifend nunc massa per a ullamcorper interdum suspendisse quam metus nascetur a volutpat mus a. Varius ac nibh a aptent id suscipit luctus adipiscing a a quisque at ac netus placerat nam facilisi dui eros.

Antidisestablishmentarianism

Title should not overflow the content area

A few things to check for:
  • Non-breaking text in the title, content, and comments should have no adverse effects on layout or functionality.
  • Check the browser window / tab title.
  • If you are a plugin or widget developer, check that this text does not break anything.
The following CSS properties will help you support non-breaking text.
-ms-word-wrap: break-word;
word-wrap: break-word;
 

Edge Case: Many Tags

This post has many tags.

Edge Case: Nested And Mixed Lists

Nested and mixed lists are an interesting beast. It’s a corner case to make sure that
  • Lists within lists do not break the ordered list numbering order
  • Your list styles go deep enough.

Ordered – Unordered – Ordered

  1. ordered item
  2. ordered item
    • unordered
    • unordered
      1. ordered item
      2. ordered item
  3. ordered item
  4. ordered item

Ordered – Unordered – Unordered

  1. ordered item
  2. ordered item
    • unordered
    • unordered
      • unordered item
      • unordered item
  3. ordered item
  4. ordered item

Unordered – Ordered – Unordered

  • unordered item
  • unordered item
    1. ordered
    2. ordered
      • unordered item
      • unordered item
  • unordered item
  • unordered item

Unordered – Unordered – Ordered

  • unordered item
  • unordered item
    • unordered
    • unordered
      1. ordered item
      2. ordered item
  • unordered item
  • unordered item