Pages

3.30.2013


Basic HTML Tags :-

  • The Heading tag         


                                The heading tags are defined with the tags of <h1> to <h6> tags and these tags also has a closing tag too as </h1> to </h6>.In these 6 tags the first one which is <h1> will give us the biggest heading and <h6> will give us the smallest heading.Below are the heading tags.

                                          <h1>  - This tag has the biggest heading and the closing tag is </h1>
                                         <h2>  - This tag is the second biggest heading and the closing tag is </h2>
                                         <h3>  - This tag is the third biggest heading and the closing tag is </h3>
                                         <h4>  - This tag is the fourth biggest heading and the closing tag is </h4>
                                         <h5>  - This tag is the fifth biggest heading and the closing tag is </h5>
                                         <h6>  - This tag has the smallest heading and the closing tag is </h6> 

  • Heading Attributes and values :-

                        Attributes :- align 
                         
                        values       :- Center
                                              Right
                                              Left

  •       Fonts attributes :-
                       size :- <font size=1> (upto 21)
                             face :- <font face=arial>
                             color :- <font color=red>

  • Paragraph tag 

                                This paragraph tag is defined as <p> and in this tag </p> will be the closing tag for<p>. The <br> tag is use to break lines but not to starts wit ha new paragraph.This <br> tag don't have a closing tag and this tag force to break a line where ever we need to break a line.There is another very simple way such as the <hr> tag.This tag stands for Horizontal Rule.We also can put this tag where ever we need to break a line.


Comment in HTML

                              The comment tag is use to insert a comment in the HTML source code.A comment will be ignored by the browser.Then you can use this comment tag to explain your code which can help you when you edit the source code at a later time or later date.The syntax for this is <!--This is a comment--> 

     

No comments:

Post a Comment