HTML BASIC TAGS

HTML BASIC TAGS                   

                              HTML can be written and edited using many different editors like Dreamweaver, Sublime Text Editor and Visual Studio. However,in this tutorial we use plain text editor to edit html.

HTM or .html file Extension?                              

                               when you save an htmL file,either you can use either the .htm or the .html file extension. There is o difference ,it entirly up to you.
    


THE BASIC TAG YOU CAN EASILY TRY ON YOUR SELF



HTML HEADING

Syntax:-          <h1>....</h1>        
Description:-  Different size of heading are available. h1 to h6 are different size
Example:-
                      <h1>this is heading</h1>
                      <h2>this is heading</h2>
                      <h3>this is heading</h3>

TITLE TAG

Syntax:-          <title>...</title>
Description:-   This tag is shown in title bar
Example:-           
                       <title>my webpage</title>

PARAGRAPH TAG

Syntax:-         <p>......</p>
Description:-  This is for paragraphing
Example:-
                       <p>Start here paragraphing text.</p>


LINE BREAKING


Syntax:-          <br />EMPTY TAG
Description:-   Breaking line between character and forward slash must need to space
Example:-
                        <p>IN break<br /> tag.</p>

HORIZONTAL LINE BREAKING

Syntax:-         <hr /> EMPTY TAG
Description:-   It's also a breaking line and keep a horizontal line
Example:-
                      <p> IN horizontal <hr />tag</p>

COMMENT TAG

Syntax:-         <!-- …... -->
Description:- Comment tag is use for note down about the code or program. It not display in browser
Example:-
                      <!-- comment tag is ignored by browser -->

Comments