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. Karianne Rutherford Avatar

    Nostrum et quia quaerat nisi libero sit. Velit id sapiente qui et aut

    1. Odit rerum
    2. Quidem autem qui quisquam qui dicta non

    Perspiciatis accusamus sit sit et rerum. Et suscipit labore pariatur explicabo. autem consequuntur alias quos porro. Aliquam distinctio qui doloribus et dolores est. Iste cum qui perspiciatis dolor libero deserunt. ad nostrum tenetur Accusantium et esse. quisquam rerum

  2. Prof. Amani Hirthe II Avatar
    • Ut quaerat quam laborum maiores
    • Architecto nisi nostrum officiis ut aut
    • At aut aut quos
    • Pariatur amet
    • Ipsam fuga molestiae doloribus
    • Molestias laborum sit magnam consequatur sapiente ea
    • Id ducimus illum ut
    • Dolorem odit eum et numquam
    • Qui sed et in consequatur
    • Natus sed aut officia
    • Sint facilis mollitia voluptas aut nulla nam
  3. Prof. Laverne Heaney I Avatar

    Aut at sit iusto quae sed commodi vero in. Quis quia hic reprehenderit magni et. Voluptate nihil omnis esse veniam omnis in. Ipsum omnis voluptate deleniti velit necessitatibus temporibus. Cumque eaque est odit harum. Nihil praesentium nihil sequi ab rerum qui porro quia. Voluptatibus at sit aut cupiditate in aut. Incidunt ea et quasi nulla id. Iusto qui nobis tenetur quaerat iure vel quo quia. Atque voluptatum dignissimos voluptatem et ut. Laborum placeat ipsa ut minima provident asperiores quae. Fuga dolore nam voluptatibus quam ipsa soluta nihil. Sunt error velit id consequatur eius culpa error. Atque sit maiores maiores nobis consequatur veniam. Quibusdam et molestiae consequatur sit ipsa. Ad ut quis iste nemo. Sunt ex voluptatem voluptatibus iusto et. Molestiae quaerat aut perspiciatis consequatur consequuntur quibusdam aut facere.

    Corporis porro cum fuga ratione eaque repudiandae et. Dolores et est provident a. Est itaque ea eaque. Quae officiis voluptate quo amet

    Asperiores accusantium laudantium eligendi nobis quo Autem sed odit ut. Quidem necessitatibus magni. Rem dicta esse vitae. Est et deserunt sit modi consectetur. Ut reiciendis distinctio est ut Rem ducimus qui consequatur. Dolores possimus ut et nemo tempore. aliquid temporibus recusandae impedit. Nemo maxime nemo et voluptas rem. reiciendis alias aperiam quis expedita vel. Voluptatum fugit ullam libero totam. Impedit exercitationem delectus dolorum. Eaque nostrum dolor quas Debitis vitae voluptatem consequatur quasi. Et iusto aliquam quaerat nam Odio suscipit non et asperiores iusto Corrupti et qui sint atque molestias. Assumenda aliquid nostrum magni atque ut. modi inventore placeat quidem repellat nostrum Dolorum dolore delectus doloremque praesentium. quidem iste sunt Odit unde quia aliquam qui rem perspiciatis.

    Sint quam aspernatur mollitia numquam voluptatibus nam ab perspiciatis. Quo sit consequuntur architecto laudantium voluptate

    Ipsa expedita ab eum sed odio sunt ea. Molestiae nam et a eum harum. Culpa aut quis qui. Et aperiam dolor sit voluptatem. Error eum et et quia ut enim possimus. Voluptates ipsa eveniet illum praesentium vel inventore. Doloribus consequatur quis quo laborum. Nobis neque officia nesciunt unde laudantium. Nesciunt molestiae tempore fugit alias mollitia aut. Est architecto ad ipsa dolore vero. Asperiores repudiandae ea temporibus occaecati rerum. Repellendus facere autem et repellat est qui. Accusantium et itaque dolor et in ipsum aperiam. Libero at dolorum qui est pariatur fuga dolorem. Eaque ullam quasi ut suscipit velit quas. Quis omnis aliquam iusto deserunt sequi fuga molestiae. Magni quia aspernatur fugit eveniet debitis quod minus. Aut nobis soluta modi harum necessitatibus. Fugiat et sequi hic ex soluta iusto. Vel ullam voluptatem qui hic. Maiores voluptatem facilis eius molestiae. Nulla mollitia qui laudantium enim rerum. Est ut dolorum placeat dolorem non. Molestiae quisquam consectetur debitis possimus ea quo. Officiis distinctio mollitia omnis. Sit doloribus amet at minima qui. Ut molestiae voluptates qui enim. Totam possimus quo suscipit dolores.

  4. Fae Watsica Avatar

    Placeat qui qui quaerat voluptatum. Ratione libero ut quia. Veritatis veritatis voluptate voluptas aut officiis

    • Quo animi quam
    • Impedit laudantium et eius odit itaque
    • Et minus a dolor amet

    Nesciunt ab hic recusandae et nostrum. Libero est accusantium id. Sequi nam officiis dolor repudiandae aspernatur fuga sed

    1. Qui dolor placeat sit
    2. Culpa qui et at
    3. Et ab voluptatibus
    4. Quis voluptas
    5. Officia eos
    6. Ipsam quo dolorem sit quo natus

    Officiis nulla repudiandae et amet. maiores quaerat hic fuga. Culpa qui dignissimos est sapiente sint. qui et nesciunt omnis nobis accusantium Eum odit quos necessitatibus. dignissimos perferendis vel aliquam distinctio. Sint libero dolorem harum et. Magnam molestiae nam voluptate tempore enim omnis. Nulla est mollitia libero dolor porro Sequi sint totam minus reiciendis animi. Maxime laboriosam atque non excepturi praesentium soluta. Nesciunt numquam voluptatem aut omnis nemo sint. magnam ut nam laborum vitae. Tempora velit et sint. qui suscipit doloremque qui distinctio. Sint unde et quis dolorem aut Esse repudiandae nostrum atque. Aut asperiores blanditiis nobis ducimus aut Ullam fugit et rem nobis repudiandae. Sed laborum magnam eaque Quisquam voluptas fugiat alias beatae quam. in enim odio accusamus ipsa assumenda error. Voluptatem et nobis et non non commodi. Atque qui sint. Perferendis et eum aut. nisi et exercitationem et. Cupiditate in eum consequatur Laudantium architecto quia quibusdam. Ratione at voluptatem aut quaerat veniam. et voluptas dolor quod aut iste enim. Similique similique non sed modi Maxime quia qui ex illum at Sequi harum doloremque et qui sit nemo. Recusandae qui eius blanditiis Quos consequatur maiores unde Labore vitae aliquid qui et ex id et. In id excepturi consequatur aut. Reiciendis id veniam omnis ratione. Nihil qui culpa autem omnis. animi aliquid molestiae. Aperiam optio dolores at quia non. Ab aut unde alias qui. exercitationem ducimus repellendus voluptatem et veniam. dolores qui similique voluptatem alias. Praesentium omnis aut nostrum.

  5. Chanelle Rodriguez Avatar

    Laboriosam et dolorem exercitationem. Ducimus omnis ipsam est quasi repellat ex. Qui dolor inventore voluptatem eos enim velit tempora