Introduction To HTML
Introduction To HTML
By
M.HEMAMALINI
DESIGNING A HOME PAGE
The first page of a website is called the home page.
It normally has the logo of the company, with a
</body>.
Headings can be created with tags H1,H2…..H6.
<!.......> Comments
<br> Line break
<p> Starts a new paragraph
<pre> </pre> Preformatted text
<b> </b> Bold face
<u> </u> Underline
<I> </I> Italics
<tt> </tt> Typewriter font
<ol> </ol> Ordered list
<ul> </ul> Unordered list
<li> </li> A list item
ANCHOR TAG
When a page is shown some of its words may need
further explanation.
Such words are called hot text and they appear in a
different color.
When the cursor is moved to the hot text, a hand
symbol appears.
When we click it , another HTML file will be opened
<HTML>
<head>
<title>College</title>
</head>
<body>
<h1>St Xavier's College</h1>
<hr>
<br>
St Xavier's College is a famous college. This was started in 1923
by the Society of Jesus. It is in Palayamkottai. Palayamkottai
and Tirunelveli are considered as twin cities of the famous <a
href="district. html"> Tirunelveli kattabomman</a>
District.<br>
</body>
</HTML>
HYPER LINK
when we click a hot text another HTML document
is opened.
This is how we link two texts.
This is called the hyper link.
If a web site runs into several pages. It is possible
to define hyper links within the same web
document itself.
< a name = comp > </a>
An identification called COMP has been defined
using the anchor tag <A>. This is called the
identification of a location.
< a href = “#Comp”> Computer Science </A>
When the hot text computer science is clicked , the
cursor jumps to the location with the identification
COMP.
<html>
<head>
<title> St.Xaviers College </title>
<head>
<body>
<h1> St.Xaviers College </h1>
--------
--------
The <a href = “#comp”> Computer science </a> is
rendering commendable service to the society.
--------
--
< a name = comp > </a>
<h4> Department of computer science </h4>
The department offers…………………
</body>
The HTML document shown above is a single
document
<a name = comp> </a> defines an identification
of the location.
The identification of the location can also be
defined
In the <br > tag or <h1> tag or any head or
similar tag.
<a name = comp> </a>
</h4>
<br id = comp>
<head>
<title> Tamil nadu Tourist Information </title>
<body>
Tamil Nadu very interesting tourist spots at the
following places
<ul>
<li> < a href = # maha”> Mahabalipuram </a>
<li> < a href = # kodai”> Kodaikanal </a>
<li> < a href = # OOty”> Ooty </a>
…………………..
< h4 id = maha > Mahabalipuram </h4>
< h4 id = kodai > Kodaikanal </h4>
< h4 id = Ooty > Ooty </h4>
</body>