__________     __ __     __  _______    ________
  / ____/ __ \   / // /    / / / /  _/ |  / / ____/
 / / __/ / / /  / // /_   / /_/ // / | | / / __/
/ /_/ / /_/ /  /__  __/  / __  // /  | |/ / /___
\____/\____/     /_/    /_/ /_/___/  |___/_____/

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

HTML 5 Tutorial #9 - HTML Text Formatting

BY: @cj23 | CREATED: Jan. 29, 2018, 9:24 a.m. | VOTES: 9 | PAYOUT: $0.19 | [ VOTE ]

HTML Text Formatting

In the previous tutorial, we learned about the style attribute for changing the style of an element. In this tutorial, we're going to tackle about the HTML text formatting element. Formatting elements were used to display special types of text or defining text with a special meaning.

Here are some examples of HTML text formatting we can use.

<b> - Bold text
<strong> - Important text
<i> - Italic text
<em> - Emphasized text
<mark> - Marked text
<mall> - Small text
<del> - Deleted text
<ins> - Inserted text
<sub> - Subscript text
<sup> - Superscript text

HTML <b> and <strong> Elements

If you want to make your text bold without any extra importance, use <b> element.

[IMAGE: https://steemitimages.com/DQmaK9do4yiQuBComi9Qv21ZR1h9iHYxk7tN1bSjdN9zExN/Example.png]

If you want to make your text strong with added semantic "strong" importance, use <strong> element.

[IMAGE: https://steemitimages.com/DQmdXkdsJNcMcKAHn7HErH1YGCGWTvBBLxyNBEzmqRkei5f/Example.png]

HTML <i> and <em> Elements

We can use <i> element to make our text italic without any extra importance.

[IMAGE: https://steemitimages.com/DQmUz7gubBpxKYiu9sjdQr1Dstk5piiUnCVWf22PYmkobj1/Example.png]

We can use <em> element to make our text italic with added semantic importance.

[IMAGE: https://steemitimages.com/DQmUYFjcYDJU3Sr1A7KzyguQSW52HtKZFcemrPQZL4K7wV6/Example.png]

You will get the same result or browsers will display <strong> as <b> and <em> as <i> but there's a difference in the meaning of these tags since <b> and <i> defines bold and italic text while <strong> and <em> means that the text is "important".

HTML <small> Element

Use <small> element for small text.

[IMAGE: https://steemitimages.com/DQmdDbGMsQN8kvLJnrBVkisWYNEJC3j26yvfK3owgAbNGUq/Example.png]

HTML <mark> Element

Use <mark> element for marking or highlighting text.

[IMAGE: https://steemitimages.com/DQmSEZx7651L9841i2i7om29HuKCZVZiifytC1roqdHoXrz/Example.png]

HTML <del> Element

If you want to make the text display like deleted or removed, use <del> element.

[IMAGE: https://steemitimages.com/DQmRKfa94RooFpr7TsErjLY5u7d2jXEGcyjeoF1b2Aqmvhf/Example.png]

HTML <ins> Element

If you want to make the text display like inserted, use <ins> element.

[IMAGE: https://steemitimages.com/DQmXM2rmL1RVNkwjPd1HstnbYS3GDMV5VN5oDoiq77deVrw/Example.png]

HTML <sub> Element

We can use <sub> element for defining a subscript text.

[IMAGE: https://steemitimages.com/DQmfSDVQLEzTpLHbeZxRHvYM9FXngVMAEngPsF2MrxXPhjU/Example.png]

HTML <sup> Element

We can use <sup> element for defining a superscript text.

[IMAGE: https://steemitimages.com/DQmd7ByoHFmCWcMgAmGYD6QmtLThU7QF9yYhYv43Pg1bpTc/Example.png]

HTML 5 Tutorials:

HTML 5 Tutorial #1 - Introduction
HTML 5 Tutorial #2 - HTML Editors
HTML 5 Tutorial #3 - HTML Basic
HTML 5 Tutorial #4 - HTML Elements
HTML 5 Tutorial #5 - HTML Attributes
HTML 5 Tutorial #6 - HTML Headings
HTML 5 Tutorial #7 - HTML Paragraphs
HTML 5 Tutorial #8 - HTML Styles

TAGS: [ #steemit ] [ #steem ] [ #blog ] [ #philippines ] [ #steemph ]

Replies

@cheetah | Jan. 29, 2018, 9:26 a.m. | Votes: 0 | [ VOTE ]

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://www.w3schools.com/html/html_formatting.asp

@racivger | Jan. 30, 2018, 9:52 p.m. | Votes: 1 | [ VOTE ]

This is great!

@minnowsupport | Feb. 1, 2018, 8:19 a.m. | Votes: 0 | [ VOTE ]

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by cj23 from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.
If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP. Be sure to leave at least 50SP undelegated on your account.

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>