Heading Tags
h1, h2, h3, h4, h5 and h6 are six heading tags. <h1> defines the most important heading, where <h6> defines the least important heading. Examples are given below...
Example of Heading 1
Example of Heading 2
Example of Heading 3
Example of Heading 4
Example of Heading 5
Example of Heading 6
Though different heading tags represent the texts in different sizes, but you shouldn't use heading tags for text's size issue. The heading tags should be used depending on the importance of the text. For example the title of a post/article should go inside the <h1> and </h1>tags. Similarly, the sub-heading basically the second most important title of an article should go inside the <h2> and </h2> tags.
When you will keep some text inside the <h1> and </h1> tags, then the search engine will recognize the text as the most important text. So, heading tags are used for SEO purpose. But all the text should not go inside the header tags.
Only the important texts like keywords may go inside the heading tags.
<u> tag for underlined text
In html <u> tag is used to make the texts underlined. If you keep any text inside the <u> and </u> tags then the texts will be underlined when it will be displayed in a web browser.
<i> tag for italic text
Texts inside the <i> and </i> tags will be displayed as italic text in the web browsers.
<b> tag for bold text
Texts inside the <b> and </b> tags will be displayed as bold text.
<p> tag for paragraph
Texts to represent as paragraph will go inside the <p> and </p> tags.
<br /> tag for line break
Besides, the <br/> tag is used to break a line. Content (may be texts, images etc.) after the <br /> tag will be displayed in the next line.
» Learn more text formatting
Only the important texts like keywords may go inside the heading tags.
<u> tag for underlined text
In html <u> tag is used to make the texts underlined. If you keep any text inside the <u> and </u> tags then the texts will be underlined when it will be displayed in a web browser.
<i> tag for italic text
Texts inside the <i> and </i> tags will be displayed as italic text in the web browsers.
<b> tag for bold text
Texts inside the <b> and </b> tags will be displayed as bold text.
<p> tag for paragraph
Texts to represent as paragraph will go inside the <p> and </p> tags.
<br /> tag for line break
Besides, the <br/> tag is used to break a line. Content (may be texts, images etc.) after the <br /> tag will be displayed in the next line.
» Learn more text formatting
Nice one.
ReplyDeleteCarry on.....:)
Thanks for your compliment!
Delete