Formatting tags are generally used to format the text.
<b> these tag is used for the making the text bold.
Example: java
<strong> these tag also makes the text bold.
These both two are same in user perspective but they are different in terms of
SEO( Search Engine Optimization).
But for SEO it is strong is better SEO understands it well.
<i> tag is used to make the text italic.
Example: java
<em> these tag is also used for emphasize the text which and SEO understands it better.
web reader gives the more preference for the <em> tag .
<u> these tag is used for underlining the text.
<mark> these tag is used to highlight the text.
Example: JAVA is a language
<del> these tag is used for strike out .but according to search engine its deleted.
<strike> These is used when the concept is no longer correct.
<del> these tag makes the text strike out but according to the search engine it is deleted.
<ins> tag is makes the underline but according to SEO is inserted .
<sub> these tag is used for subscript.as we use them in mostly in chemistry Example:H20
<super> these tag is used for superscript and we mostly use them in Mathematics.
<q> these tag is used for providing the quotations for the text inside it.
<br> tag is to break the line. it is a self closing tag.
<hr> is for making horizontal line. it's a self closing tag.
<pre> its a tag used for preformatted text.it makes the text as it is including spaces.
<code> tag is used for wrap the codes in html pages.
Below we can see the program using the all formatted tags.