HTML Formatting Tags
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>
</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
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
Some truly choice blog posts on this web site , saved to fav. Mariel Tomlin Eldrid
Nice blog here! Also your site loads up very fast! Lynna Jason Cower
Really nice layout and excellent articles , very little else we require : D. Karly Symon Cerys
Pretty! This was an incredibly wonderful post. Many thanks for supplying this info. Jacquenetta Gaspard Terena