HTML Basic Tags


Basic Tags in HTML


                     All the tags that we are entering inside the body tag is the visible part of webpage. Following tags are the basic tags in HTML.
Headings:

           HTML heading tag define with

to
tag as follows:
              <h1>This is a heading</h1>
              <h2>This is a heading</h2>
              <h3>This is a heading</h3>
              <h4>This is a heading</h4>
              <h5>This is a heading</h5>
              <h6>This is a heading</h6>
Paragraphs:

          All kind of paragraph define with tag:
                      This is first paragraph
                      This is second paragraph
Break-line:

           To move a line to display on next line use
tag.
Horizontal-line:

           To make a horizontal line in a webpage use <hr>  tag. Use attributes of hr tag to display it in style.

Bold Formatting:

           To make text as bold use <b>  tag. In HTML5 use <strong>  tag to display text as bold.
           Example : 
                           This is bold formatting text
                            This is HTML 5 bold text

Italic Formatting

           To make text as italic use <i> tag. In HTML5 use <em> tag to display text as italic which defines emphasizes text.
           Example : 
                           Italic tags 


No comments:
Write comments