Basic Of Html

HTML stands for Hypertext Markup language, it is a language used to create and structure the content of the web.

Why it is called markup language?

It is possible to easily open another page within a specific page through a web page, for this HTML is called markup language.

Elements in HTML: HTML elements can be two type

  1. Container elements: This element must have starting and ending tag.

namely: HTML, HEAD, TITLE, BODY tag etc.

  1. Empty elements: An empty element has only one tag.

    namely: BR, IMG tag etc.

Example :

A simple ABC airline page using different kind of tags. Where the 1st page is greeting the user and the next page is showing the destinations.

ABC AIR LINES

WELCOME TO ABC AIR WAYS Click HERE to view destinations

DESTINATION

  • KOLKATA
  • CHENNAI
  • MUMBAI
  • NEW DELHI
  • Code :

    Page:1

    <HTML><HEAD><TITLE>Prity7's Blog </TITLE></HEAD>

    <BODY>

    <MARQUEE BEHAVIOR = "SCROLL" LOOP="3" SCROLL AMOUNT="20%" SCROLL DELAY = "150" DIRECTION= "LEFT"><FONT COLOR = #794153 SIZE="5"> ABC AIR LINES </FONT> </MARQUEE>

    <P ALIGN="CENTER">

    <TABLE BORDER="5">

    <TR><TD>WELCOME TO ABC AIR WAYS</TD></TR>

    </TABLE>

    Click <A HREF="2.html"> HERE</A> to view destinations </P>

    </BODY>

    </HTML>

    Page:2

    <HTML><HEAD><TITLE>ABC AIR WAYS</TITLE></HEAD>

    <BODY>

    <CENTER><H1><U>DESTINATION</U></H1>

    <LI>KOLKATA</LI>

    <LI>CHENNAI</LI>

    <LI>MUMBAI</LI>

    <LI>NEW DELHI</LI>

    </H1>

    </CENTER>

    </BODY>

    </HTML>