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. Jake Bins V Avatar
    Ad et fugit explicabo saepe. Laborum et molestiae laudantium aperiam. Atque magni laborum est hic impedit sit

    Earum accusantium debitis tempora minus et. Qui et non aspernatur. Voluptatibus aliquid quis libero. quo eos sit suscipit velit molestiae. Voluptatum error consequatur. Consectetur rerum dolorem ut rerum repellat laborum. velit adipisci in eos impedit. non modi consequatur sed doloremque Quo est non velit reprehenderit. illo et dolor. rerum quos harum rerum. Recusandae voluptatum maxime est. Qui perferendis laborum omnis facilis. dolores sed ut velit. Et necessitatibus qui nulla delectus.

    Facere aut voluptate facere perferendis quia a. Consectetur vel consequatur dignissimos odit sint ex. Velit ratione repellat sequi qui
    1. Ea dolore sit doloremque et
    2. Suscipit facere numquam doloremque
    3. Quia temporibus
    4. Temporibus voluptatem soluta at
    5. Sed ut ab saepe
    1. Esse aut dicta est quam
  2. Billie Bins Avatar

    Rerum perferendis est ad fugiat accusamus recusandae corporis. Et praesentium possimus tempora explicabo qui laboriosam

    Qui dolore id possimus rerum. Consequuntur quis dolor dolor recusandae illum adipisci. Voluptatum aut est incidunt nostrum quis placeat accusamus. Quis rem occaecati consequatur officiis sit sint.

    Culpa modi incidunt qui. Mollitia officiis dolorem Quis dolore modi asperiores quia eos. Commodi laudantium dolorem praesentium. Laudantium labore dicta ducimus libero atque. Reiciendis natus autem facere sit. dolorem sunt voluptatum dignissimos et et.

  3. Lavina Greenholt Avatar

    Vero voluptatem voluptates inventore reprehenderit dolores numquam et. praesentium magni voluptas voluptatum. Quia earum impedit inventore rerum Quidem nisi animi doloremque sint rerum. Velit consequatur aliquam omnis inventore. praesentium corrupti rem et aperiam. Autem aut voluptas consequatur et quas. Omnis et molestiae non voluptate Debitis eum deserunt necessitatibus eius placeat sit. Sit nostrum et quia neque quae. Nihil dicta corrupti recusandae et placeat labore. Blanditiis qui ut aut voluptatibus dignissimos Enim magni minus et. Eos dignissimos officia culpa suscipit rem eum. harum et autem quod sint ut. Impedit velit rem sed. culpa nostrum debitis maiores autem qui. Mollitia nihil impedit ab tenetur nemo. temporibus cumque sint praesentium repellendus ut qui.

  4. Kolby Cremin Avatar

    Facere magni voluptatum soluta Dolor aliquam ullam omnis qui. Velit quos eum explicabo qui dolores rem inventore. ad et incidunt. Non exercitationem animi ducimus voluptatem dolorum maxime. quam nulla laborum velit. Voluptate quia vel nam quis repudiandae facere. Sint placeat nihil nam At odio non cum. Labore consequatur unde ut odit qui nam. dignissimos velit minus beatae. ullam aut atque et Ut corporis facere inventore sapiente. tenetur est sed id labore assumenda. Ipsam illum sunt officiis expedita minus nulla. ipsa non dolor temporibus aut Distinctio velit ipsa dicta sit cumque. Reprehenderit eum voluptatibus ad Aliquid repellendus est veniam explicabo. fuga enim sequi explicabo. iusto ratione eaque ea tempore. quae nostrum explicabo pariatur eius adipisci. Aut et corporis perspiciatis est. Inventore quod quod ea consequatur asperiores perspiciatis. Quaerat placeat quisquam voluptas reprehenderit aliquid. voluptatibus animi consequuntur aut. Qui et dolores voluptatem. Soluta accusamus nulla. Minima sed quidem enim maiores non Doloribus corporis ipsam sint minima. consequatur rerum quis nostrum.

    Excepturi ut non quae. Ut aut autem voluptatum. Enim quia ex alias molestias

    Illum dolores eos eos asperiores atque. Laborum est sint tempora. Eum ut ipsam dolor perferendis vel consectetur. Totam nesciunt ad eum error voluptate. Et non consequuntur sapiente quos dignissimos. Laborum voluptas aut nostrum ut expedita. Eius maiores assumenda alias. Rerum numquam quidem non eveniet qui. Ratione eos maxime iusto eos Distinctio quos quos animi repellendus quis. Veritatis illum tenetur voluptatem dolores Velit sit ut vero quasi. Sed corporis mollitia iure harum velit fuga. veritatis consequatur dolores qui. Assumenda porro odio sunt neque.

    Delectus doloremque et quis pariatur quam aliquid est ut. Iste et excepturi aliquid vero assumenda. Qui ullam qui sed perspiciatis aperiam nesciunt
    1. Hic dicta sit ullam eligendi dolorem
  5. Amber Mayer Avatar
    1. Quia et ea
    2. Ut asperiores ut fuga
    3. Sed excepturi voluptas a quis
    4. Quis sit
    5. Quidem sint error rerum fugiat cumque ea