Press "Enter" to skip to content

Formatting Tag Example in HTML

Last updated on October 4, 2019

Definition:

  • These are the tags which are meant for formatting the content on the webpage.
  • Formatting means align how we have to display the content

Program :

<html>

   <body>

      <b> Hello </b> </br>

                  <strong> Hello </strong> </br>

                  <i> Hello </i> </br>

                  <u> Hello </u> </br>

                  EMC <sup> 2 </sup> </br>

                  H <sub> 2 </sub> o </br>

                  <font color=”red” font=”Arial” size=”+5″> Hello </font </br>

   </body>

</html>

Be First to Comment

    Leave a Reply

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