Introduction Of HTML

Tutorials

Introduction Of HTML

    HTML is used to create a web pages. HTML is the basic step of creating ant web pages. It is open in the web browser of your computer. Now You can see the basic program of HTML.

    For Example:
    <HTML>
    <HEAD>
    <TITLE> Example </TITLE>
    </HEAD>
    <BODY>
    <P> Hi Everyone This Is Created BY tEzNikal Team.</P> </BODY>
    </HTML>


    For Example Save Page as : Example.html


    Output





    Hi Everyone This Is Created BY tEzNikal Team.
  • HTML Tag

  • HTML TAG :An HTML Documents starts with <html> tag ends with the tag </html>. It is necessary for all the HTML pages to have <HTML> tag which signifies the beginning of an HTML document and </HTML> indicates the end of the HTML document.

    HEAD TAG :The HEAD tag is used to denote the heading of the web page.So whatever is written in the between <HEAD> and </HEAD> identifies the properties of the entire page.

    TITLE TAG :After <HEAD> there is yet another basic tag <Title>. The tag <Title> and </Title> is used to give a title to the HTML documentThis title does not describe on the contents of the page.

    BODY TAG :The <BODY> tag contains the contents of the web page. It is the area where most of the work done. The contents in between <BODY> and </BODY> tag are displayed in the browser window.


  • Paragraph Tag


The <P> tag takes the browser to leave a blank line and begin a new paragraph. Now when the browser interprets this tag, it displays a blank line and the text following the <P> is displayed on the next line.

<HR> TAG: In order to draw a line across the page <HR> tag is used. HR stands for Horizontal Rule.
This tag puts a line commonly called as Shadow Line.

<HTML>
<HEAD>
<TITLE> New Web Page </TITLE>
</HEAD>
<BODY>
<P> Hi Everyone, This Is Created BY tEzNikal Team.</P>
<P> This Page Is Created For You.</P>
<HR> We Are  Students. </HR>
</BODY>
</HTML>

For Example Save Page as : pragraph.html


Output





Hi Everyone, This Is Created BY tEzNikal Team.
This Page Is Created For You.

We Are Students.



In any case we can use <P> tag as :- <P align=center>

Note - align is used in different position(center,right,left) in the paraghraph.
Similarly for <HR> tag, you can use <HR width="50"> or <HR size=3> for manipulating the size of shadow line.



  • Comment Tag

  • This tag is used to specify some information about the coding (generally used by programmer). The text written in this tag will not be viewed in the web browser.
    Syntax : < !------------message-------------->

    <HTML>
    <HEAD>
    <TITLE> Comment </TITLE>
    </HEAD>
    <BODY>
    <! Hi Everyone. This is comment tag. > <BR>
    <P> Hi Everyone This Is Created BY tEzNikal Team.</P> <BR>
    <HR> We Are A Students.
    </BODY>
    </HTML>


    For Example Save Page as : comment.html


    Output





    Hi Everyone, This is comment tag.
    Hi Everyone This Is Created BY tEzNikal Team.

    We Are Students.


  • Line Break

  • We may require the line breaks in our web pages. The <BR> tag is used to separate the lines. This tag acts in the same way as the ENTER key on your keyboard.BR is used to break the Line.

    <HTML>
    <HEAD>
    <TITLE> Line Break </TITLE>
    </HEAD>
    <BODY>
    <P> Hi Everyone This Is Created BY tEzNikal Team.</P> <BR>
    <HR> We Are A Students.
    </BODY>
    </HTML>


    For Example Save Page as : break.html


    Output





    Hi Everyone This Is Created BY tEzNikal Team.

    We Are Students.


    Previous





    No comments:

    Post a Comment