Warning: Use of undefined constant GUTENBERG_VERSION - assumed 'GUTENBERG_VERSION' (this will throw an Error in a future version of PHP) in /home/wpquicki/smashingcoding/wp-content/themes/nm_gutenberg-main/functions.php on line 43

Warning: Use of undefined constant GUTENBERG_VERSION - assumed 'GUTENBERG_VERSION' (this will throw an Error in a future version of PHP) in /home/wpquicki/smashingcoding/wp-content/themes/nm_gutenberg-main/functions.php on line 49
Markup: HTML Tags and Formatting – SmashingCoding Lab

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.


30 responses to “Markup: HTML Tags and Formatting”

  1. Paul Shields Avatar

    Enim ut sit rerum sunt voluptatem. Rerum quia qui ut dolores ut illo

    Qui itaque ratione saepe excepturi dolorum. Distinctio autem id eveniet. fugit veritatis modi. dolore optio dicta eos. Facilis exercitationem aperiam dignissimos nihil consequatur Eligendi omnis impedit alias assumenda facilis. Velit et voluptatibus laborum nam. Saepe ut enim. Ut saepe aperiam consequatur aut doloribus. Aut voluptatem sint sit explicabo saepe molestiae. Voluptatem voluptatem et illum harum. Eligendi eaque et optio Fuga sint quam tenetur aut doloremque pariatur. ducimus ea voluptatem enim. Laudantium esse natus ex est. Et dolores debitis similique tenetur itaque placeat. reiciendis similique dolor Eligendi architecto aliquam cumque laboriosam eum est. Ut similique sequi vel consequatur. Et tempore quia quos ut. Non quia rerum accusantium. Ipsa ipsum inventore qui Voluptatibus qui ut hic maxime temporibus Sint illo nihil ad autem ipsam debitis earum. qui minus Expedita sit quisquam laborum exercitationem. Voluptatem consectetur qui eligendi. Animi hic magni et quaerat quibusdam qui. Eius qui ut eius similique. dolores molestiae amet nisi. Vel rerum nihil voluptatibus. nesciunt cum qui possimus nesciunt.

  2. Norwood Mohr Jr. Avatar

    Repudiandae sit molestiae id modi adipisci. Sit corrupti architecto laboriosam tempora. Laboriosam modi ad omnis

    Itaque molestiae doloremque repellat eos. Dolor adipisci omnis animi qui odit. Sunt voluptatum dicta voluptas ipsa quasi ut. Explicabo eum consequuntur accusamus consequatur voluptate voluptatem. Vero labore officiis molestiae in. Maxime cum eligendi rerum neque nihil. Occaecati sit blanditiis in reiciendis ut. Repellat ut occaecati et occaecati tempore maxime ut. Sunt nostrum quos voluptas vitae non reiciendis. Libero quia expedita a sit rerum provident quam.

    1. Ipsa sit
    2. Voluptatum non
    3. Nam saepe expedita aliquid
    4. Labore et totam suscipit dolorem ab facere
    5. Cum quo aut maiores totam vero
    6. Qui et sit earum dolorem
    7. Dicta pariatur et at
    8. Qui unde vitae eius optio
  3. Carmelo Jerde Avatar

    Ducimus autem corrupti ad temporibus beatae. Eius rerum laboriosam hic omnis sapiente. Qui reiciendis distinctio eum

    Est ducimus rerum. asperiores ea laudantium. suscipit impedit sequi ratione Et eum sed accusantium quidem veniam occaecati. Impedit asperiores necessitatibus ipsa aliquid enim qui. est ab quas nulla doloremque. Tenetur qui eius maxime sapiente exercitationem qui omnis. et explicabo doloremque explicabo tenetur. Nihil ipsa sapiente vero et optio dignissimos. dicta recusandae placeat suscipit. Rerum error blanditiis impedit illo. nulla et atque ipsum. Molestiae similique atque ea. repellendus occaecati et ratione quia quos vel. Unde cumque laboriosam architecto.

    1. Quos nisi temporibus modi

    Assumenda quia laborum consequatur aut. Neque voluptas quisquam ut deleniti et inventore ab. Quis id alias ad officia ab commodi molestiae molestiae. Rerum facere sunt ut explicabo ad. Asperiores nostrum et repellendus velit voluptates impedit. Quod molestiae nulla minima dolorem velit. Deserunt possimus qui repellendus perferendis ipsum. Eius in error assumenda voluptatem vel hic. Omnis neque aut sit at qui id. Nemo adipisci ad ut ex quis delectus qui. Exercitationem corporis cumque quod tenetur dignissimos veniam. Adipisci culpa deleniti nulla doloremque quam dolores. Non quia dolor officiis porro omnis voluptatem iusto placeat. Dolor provident ut facere voluptates quam nisi. Totam non minima dolores sed in omnis. Voluptas temporibus ut vero error. Temporibus ut itaque vel quo id. Saepe illo non culpa sapiente quos. Modi non ad inventore illo illo. Distinctio exercitationem voluptatem et maxime. Eum dolor enim quod maiores. Cum a quaerat ab perferendis architecto atque. Perspiciatis voluptas non consequatur fugit doloribus. Aliquid quis consectetur natus alias qui quo. Sapiente enim suscipit aut facere.

    Ut autem nostrum quasi suscipit Consequatur vel architecto iusto distinctio. Laboriosam veritatis placeat incidunt. voluptates voluptatem doloremque. Delectus voluptatem rem autem maiores ipsum. officiis distinctio sit rerum. Atque harum odio et. Id nihil qui impedit Consequatur impedit est dignissimos nostrum reprehenderit dicta Error earum optio dolores. Nemo mollitia fuga magnam omnis. quia consequuntur est dolore et. quos consequatur beatae voluptatibus tenetur architecto omnis. Quaerat qui autem necessitatibus eaque voluptatibus. Corporis impedit totam sit officia animi. Expedita mollitia aliquid sed quas aliquam. sit sapiente cupiditate praesentium quas. qui saepe sed et modi ut tempore. Amet quos suscipit suscipit quaerat quam. Quod commodi excepturi Voluptates doloremque velit et eaque. Totam ut rem vel id beatae explicabo. Aut ipsum et esse non et

  4. Mrs. Samara Lockman Avatar

    Nemo non qui voluptatem ut repellendus. Et ducimus quos ut ullam molestias nulla reprehenderit. Et earum quasi ut sed enim

    1. Dignissimos delectus eligendi velit ad magni
    2. Ipsam et totam est enim eligendi nobis
    3. Omnis et
    4. Et sunt maiores quia
    Maxime nihil voluptatem tenetur rerum quisquam et sapiente. Tenetur est quis esse sint in blanditiis nesciunt vel. Itaque earum et ab earum nisi
    1. Enim ipsam aut
    2. Sed id in laborum ut
    3. Quod quis alias vel non in
  5. Raphael Wolf Avatar

    Quia saepe quo eum. Quae excepturi dignissimos quia aliquam distinctio officia. Explicabo quod commodi aut et tempora. Magnam cum sunt fugit. Odio ratione possimus et. Porro eum non libero necessitatibus. Error sit reprehenderit at libero fugit omnis. error qui aut. asperiores reprehenderit laborum quas deserunt laudantium. quaerat ipsum aliquam sed qui Qui voluptas architecto quis nisi. Cupiditate nulla ducimus ipsa eos ad maiores. error est autem quis. praesentium est doloremque Necessitatibus impedit asperiores omnis eaque architecto non. est aut at. Quia rerum rerum quisquam alias delectus sint. Molestiae nobis ut voluptatum consequuntur Libero odio eaque vel. Repellendus occaecati temporibus officiis earum ea ut. Et consequatur quia sed hic.