HTML Formatting Tags

  Blog Desk       February 7, 2020     4045 8 Comments

HTML Formatting Tags

HTML Formatting Tags are used for the html document formatting as per requirement we can use commonly used terms like : headings, text bold, italic, underline, strike, super script, sub script, displays deleted text and many more.

HTML Provides 6 types of heading style. The largest heading style is <h1> and smallest heading style is <h6>

Example Heading style


<!DOCTYPE html>
<html>
<head>
<title>formatting tag</title>
</head>
<body>
<h1>Some Heading Styles:</h1>
<hr>
<h1>This is largest heading style</h1>
<h2>This is second largest heading style</h2>
<h3>This is medium heading style</h3>
<h4>This is another heading style</h4>
<h5>This second smallest heading style</h5>
<h6>This is smallest heading style</h6>
<hr>

Example Video

Some HTML Formatting Tag:


<!DOCTYPE html>
<html>
<head>
<title>formatting tag</title>
</head>
<body>
<b>This is bold style</b>
<br>
<strong>This is another bold style</strong>
<br>
<i>This is italic style</i>
<br>
<em>This is another italic style</em>
<br>
<u>This is underline style</u>
<br>
<ins>This is another underline style</ins>
<br>
<strike>This is strike style</strike>
<br>
<del>This is another strike style it displays deleted text</del>
<br>
(a+b)<sup>2</sup>=a<sup>2</sup>+2ab+b<sup>2</sup>
<br>
H<sub>2</sub>O
<br>
<font size="7" color="red" face="arial">Welcome to Hi Tech</font&gt;
</body>
</html>

Example Video of formatting tags

Note: <br> Tag is used for line break and <hr> tag is used for horizontal line

For more details please check on MDN Web Docs (mozilla.org)

Example of preview result of html formatting tag

formatting tags

8 responses to “HTML Formatting Tags”

  1. dublaj says:

    You are blessed with a solid ability for writing unique content. I am in agreement with your statements. My thanks for publishing this. Meggy Even Pudendas

  2. watch says:

    Some truly choice blog posts on this web site , saved to fav. Mariel Tomlin Eldrid

  3. bollywood says:

    Nice blog here! Also your site loads up very fast! Lynna Jason Cower

  4. online says:

    Really nice layout and excellent articles , very little else we require : D. Karly Symon Cerys

  5. direk says:

    Pretty! This was an incredibly wonderful post. Many thanks for supplying this info. Jacquenetta Gaspard Terena

  6. watch says:

    Ik maak graag kans, voor mij hierin nog een wereld te winnen Lavina Boris Huebner

  7. torrent says:

    Having read this I believed it was rather enlightening. Barbara-Anne Tarrance Keeton

  8. torrent says:

    I got what you intend,saved to bookmarks, very decent website. Clarine Eberto Dodi Leontine Dugald Richardo

Leave a Reply

Your email address will not be published. Required fields are marked *