You are on page 1of 19


 There were three question that had

to be answered before a selected
page could be displayed:
1. What is the page called?
2. Where is the page located?
3. How can the page be accessed?
 Each page is assigned a URL
(Uniform Resource Locator) that
effectively serves as the page’s
worldwide name.
 URL is like a sign pointing to
something on the internet service tell
that what type of internet service to
 URL have three part:
 the protocol
 The DNS name of the host
 Local name uniquely indicating the specific page
For example…
protocol is http

DNS name of the host

file name is welcome.html

 URLscheme is open-ended in the
sense that it is straight forward to
have protocol other than HTTP
Name Used for Example
http Hypertext

ftp FTP

File Local file /user/suzanne/prog.c

News News group News:comp.os.minix

Gopher Gopher Gopher://

mailto Sending email mailto

telnet Remote login telnet://
 The web contain wast amout of
information,finding the right item is
not so easy.
 Programs that search the web are
sometimes called search
Overflow chains
pointer Pointers
to URLS to title String Hash
storage code
00 2
2 4
5 19 6

21 44

url_table heap Hash table

What it is…
 HTML is an application of ISO standard
8879,specialized to hypertext and adapted
to the web.
 Very structured markup language for
building web pages.
 A markup language is a collection of
elements, which are used to indicate
structure and format of a document
 Browser simply has to understand the
markup commands
HTML standards
 When Mosaic was the only browser, the
language it interpreted,HTML 1.0,was the
de facto standard.
 When new browser came along, there was
a need for a formal standard, so HTML2.0
standard was produced.
 HTML3.0 was initially created as a reserch
effort to add many features to
tables,toolbars,mathematical formulas,
advanced stylesheets,and more
A complete html element is defined
by a start tag, an end tag, possible
attributes and a content model
 The commands inside the tags are
called directives
A proper web page consists of a head
and a body enclosed by
<HTML>and</HTML> tag.
Common HTML tags
Tag Description
<HTML>…</HTML> Declares the web page
to be written in HTML
<HEAD>…</HEAD> Delimits the page’s
<title>…</title> head
Defines the title
<body>…</body> Delimits the page’s
<Hn>…</Hn> body
Delimits a level n
<B>…</B> heading
Set…in boldface
<l>…</l> Set…in italics
<UL>…</UL> Brackets an unordered
<OL>…</OL> Brackets a numbered
<MENU>…</MENU> list
Brackets a menu
Tag Description
<LI> Start of a list item
<BR> Force a break here
<p> Start of paragraph
<HR> Horizontal rule
<PRE>…</PRE> Preformatted text; do
not reformat
<IMG SRC=“ ...”> Load an image here
<A HRFE=“…”>… Define a hyper link
 Forms contain boxes or buttons that
allow users to fill in information or
make choices and then send the
information back to the page’s
 Using the <INPUT> tag for this
 Most common forms are blank fields
for accepting user text, boxes that
can be checked, active maps, and
Thank you