The following example code demonstrates How to Use Formatting Tags in HTML.

How to Create a Multi-Page Document in HTML

The following page shows some of the formatting tags. Also, note the use of special characters for displaying < and > symbols. Furthermore, the link to the home page is also there.

formatting.html

<html>
  <head>
     <title>Formatting Tags</title>
     <style>
        li{
             font-size: 20px;
             color: #800000;
		 padding: 10px;
          }
        div{
		margin: 10px;
		padding: 10px;
            border: 3px #800000 solid;
       }
       ul{
		padding: 10px;
            margin-left: 20px;            
       }
       p{
          font-size: 18px;
          text-align: justify;
          color: #3a3a3a;
       }
     </style>
  </head>
  <body bgcolor="#F4E5F7">
      <center><h1>Formatting Tags and Headings</h1></center>
      <div>
           <h2>Headings</h2>
           <p>HTML has six tags for headings - &lt;h1&gt;, &lt;h2&gt;, &lt;h3&gt;, &lt;h4&gt;, &lt;h5&gt;, &lt;h6&gt;</p>
           <h2>Formatting Tags</h2>
           <p>Formatting tags allows users to provide different formatting styles to the text. HTML provides several formatting tags. Some of These tags are given below.</p>
           <ul>
               <li>&lt;b&gt;</li>
               <li>&lt;i&gt;</li>
               <li>&lt;u&gt;</li>
               <li>&lt;strike&gt;</li>
               <li>&lt;sub&gt;</li>
               <li>&lt;sup&gt;</li>
           </ul>
      </div>
      <div>
          <a href="home.html">Home</a>
      </div>
      <div style="padding: 20px;">
          <a href="image.html">Image</a><br/>
          <a href="marquee.html">Marquee</a><br/>
          <a href="othertags.html">Other Tags</a><br/>
      </div>
   </body>
</html>

Output

An Example Demonstrating How to Use Formatting Tags in HTML
An Example Demonstrating How to Use Formatting Tags in HTML

After that, let us create the Next page.

https://www.programmingempire.com/how-to-display-different-font-styles-on-a-web-page/


Further Reading

Evolution of JavaScript from ES1 to ES2020

Introduction to HTML DOM Methods in JavaScript

JavaScript Practice Exercise

Understanding Document Object Model (DOM) in JavaScript

Understanding HTTP Requests and Responses

What is Asynchronous JavaScript?

JavaScript Code for Event Handling

Princites

IITM Software Development Cell