Web Design
Web Design
Web Design
Introduction
This unit begins by examining the Internet, what it is and an introduction to what the World
Wide Web is and what constitutes a hypertext document. A description of the history of the
hypertext mark-up language, its structure and how to produce some basic World Wide Web
pages.
It delves into simple text formatting, colors, Marquee, Lists, creating graphical images, hypertext
links, forms, tables and frames.
Examinations
The examination will be a sit-in at the appropriate centre to be advised and will contribute
70% of the final score
Objectives
We will begin this unit by introducing the internet, how the internet works, protocols for the
internet software to create web pages. Create a simple web site for the project. This unit is a pre-
requisite for advanced web that uses this unit as a background for its development
Recommended Reading
Niederst J (2001) Learning Web Design Shroff Publishers
Additional Reading
1. Jennifer Niederst (2006) Web Design in a Nutshell 3rd ed. O’Reilly and Associates
2. Keith Sutherland: Understanding the Internet; A clear guide to internet technologies
(2001) Butterworth Heinemann
3. C Xavier (2000) World Wide Web with HTML McGraw-Hill Publishing Company
Limited
4. Kentie Peter (2002) Web design tools and Techniques PeachPit Press
5. Douglas E. Comer (2000) Hands-On Networking with Internet Technologies. Prentice
Hall
TABLE OF CONTENTS
Lesson 1: Introduction
1.1 Introduction
1.2 Objectives
1.3 What is the Internet
1.4 How does the Internet work
1.5 Types of Servers
1.6 Internet Addressing
1.7 Summary
1.8 Revision questions
Lesson 8: Listing
8.1 Introduction to Lists
8.2 Unordered List
8.3 Unordered List (Type)
8.4 Ordered List
8.5 Ordered List (Type Start)
8.6 Menu Lists
8.7 Directory Lists
8.8 Definition Lists
8.9 Exercises
Lesson One
1.1 Introduction
This section of the course will begin by examining. the internet, what it is and how it works. The
types of servers and internet addressing. It reminds students of what they did in the unit BIT
1102 Internet Technology.
1.2 Objectives
The Internet is a global system of interconnected computer networks that use the standard
Internet protocol suite (TCP/IP) to link several billion devices worldwide. It is a network of
networks that consists of millions of private, public, academic, business, and government
networks, of local to global scope, that are linked by a broad array of electronic, wireless, and
optical networking technologies. The Internet carries an extensive range of information resources
and services, such as the inter-linked hypertext documents and applications of the World Wide
Web (WWW), the infrastructure to support email, and peer-to-peer networks for file sharing and
telephony. In the two decades following 1994 it has all but replaced earlier telegraph systems
such as Telex and by far has exceeded the functionality of earlier forms of telegraph. Internet
users are also able to share resources and make available a huge amount of information to other
internet users. Information of every conceivable topic can be found on the internet, in addition to
large repositories of software, graphics, sound files and video clips.
To understand the Internet, it helps to look at it as a system with two main components. The first
of those components is hardware. That includes everything from the cables that carry terabits of
information every second to the computer sitting in front of you.
Other types of hardware that support the Internet include routers, servers, cell phone towers,
satellites, radios, smart phones and other devices. All these devices together create the network
of networks. The Internet is a malleable system -- it changes in little ways as elements join and
leave networks around the world. Some of those elements may stay fairly static and make up the
backbone of the Internet. Others are more peripheral.
These elements are connections. Some are end points -- the computer, smart phone or other
device you're using to read this may count as one. We call those end points clients. Machines
that store the information we seek on the Internet are servers. Other elements are nodes which
serve as a connecting point along a route of traffic. And then there are the transmission lines
which can be physical, as in the case of cables and fiber optics, or they can be wireless signals
from satellites, cell phone or 4G towers, or radios.
All of this hardware wouldn't create a network without the second component of the Internet: the
protocols. Protocols are sets of rules that machines follow to complete tasks. Without a common
set of protocols that all machines connected to the Internet must follow, communication between
devices couldn't happen. The various machines would be unable to understand one another or
even send information in a meaningful way. The protocols provide both the method and a
common language for machines to use to transmit data. Most of these protocols and how they
work, you have done in the unit internet technologies.
1.6.1 IP ADDRESS
An IP address is a unique numerical address assigned to every machine on the Internet.
The IP address is a 32 bit binary number normally represented as 4 decimal values i.e. octets.
Each octet represents 8 bits in range from 0 to 255 separated by decimal points. This method of
notation is called the dotted decimal notation e.g. 216.27.61.137
To guarantee world-wide unique addresses, IP addresses are licensed from Network
Information Center (NIC).
An IP address and its subnet mask perform the following functions:
- Enable the system to process the receipt and transmission of packets.
- They specify the device’s local addresses.
- They specify a range of addresses that share the cable with the device.
IPCONFIG
This command is used to determine the IP address of your computer.
1.6.3 FQDN
- A Fully Qualified Domain Name is a domain name that includes all higher level domains
relevant to the entity named.
- It is usually selected to give a clear indication of the site’s organization or sponsoring agent.
1.6.4 DOMAIN NAME SERVICE (DNS)
- This is a hierarchical, distributed method of organizing the name space of the Internet. It
translates domain names to IP addresses and vice versa.
- It provides a centralized, distributed database which keeps track of computers names and
their corresponding IP addresses.
- DNS servers are computers connected to the Internet host part of the DNS database and
allow others to access it.
- DNS servers contains a subset of the entire databases. DNS uses a client/server model where
the DNS servers contain information about a portion of the DNS database and makes
information available to clients.
1.6.5 ROUTING
- A router is a machine that routes packets and keep information used to get data to its
destination in routing tables.
- Each router knows about its sub-networks and which IP addresses they use.
- Routers form a tree-like structure on the Internet with Network Service Provider (NSP)
backbone at the roots.
- When a packet (piece of data) arrives at a router, the router examines the IP address of its
destination then checks its routing table. If the network containing the IP address is found the
packet is sent to that network, if not, then the router sends the packet on a default route up the
backbone to next router until it finds its destination. This process is called package routing.
Revision Questions
Suggested Reading
1. Tanenbaum, A.S and Wetheral,D. 2011 Computer Networks. 5th edition. New Delhi:
Prentice-Hall
2. Stallings, W. I.2004 Data and computer communications. 7th edition. New Delhi:
Pearson/Prentice Hall
Lesson Two
2.2 What's the relationship between the WWW and the Internet?
The World Wide Web (WWW) is a client server architecture system for information serving and
retrieval. The WWW is a means by which a user can ask a computer connected on the internet to
serve (or transmit) some information to the user (or client).The WWW works through the
installation of both client programs and server programs.
The World Wide Web is just one of the many services that the Internet provides. Some other
services provided by the Internet are email, FTP, gopher, telnet and usenet.
Almost every protocol type available on the Internet is accessible on the web including the
following components: Email, FTP, Telnet, User news, HTTP
2.2.3 FTP
- The Internet allows you to copy files between your computer and other computers on the
Internet by using file transfer protocol (ftp). You connect your computer to an ftp server, an
Internet host computer that stores files for transfer. You may be required to log in to retrieve
a file, which varies from software, and text files to graphic files.
2.2.4 E-mail
- This is online communication between computer users. It is quick, convenient, efficient and
cheap way to communicate with both individuals and groups.
- It’s the most popular internet service.
2.2.5 TELNET
It’s a service that enables remote log in. Users are permitted to log in onto a host and perform
tasks as if they are working on the remote computer itself.
2.2.7 Gopher
This is a menu based system that allows a user to access information from a remote
computer. Menu items point to a file which may be located on the same computer or on a
different one.
2.2.8 IRC
This is an Internet service that allows a number of users to connect to the same network node
and communicate in real time.
Because SGML is a nonproprietary international standard it allows you to create documents that
are independent of any specific hardware or software. The document structure (what elements
are used and their relationship to each other) is described in a file called the DTD (Document
Type Definition). The DTD defines the relationships between a document's elements creating a
consistent, logical structure for each document.
SGML is good for handling large-scale, long-term information management needs and has been
around for more than a decade as the language of defense contractors and the electronic
publishing industry. Because SGML is very large, powerful, and complex it is hard to learn and
understand and is not well suited for the Web environment.
XML is a "restricted form of SGML" which removes some of the complexity of SGML. XML
like SGML, retains the flexibility of describing customized markup languages with a user-
defined document structure (DTD) in a non-proprietary file format for both storage and exchange
of text and data both on and off the Web.
XML separates structure and content from style and the structural markup tags can actually
describe the content because they can be customized for each XML based markup language. A
good example of this is the Math Markup Language (MathML) which is an XML application for
describing mathematical notation and capturing both its structure and content.
Until MathML, the ability to communicate mathematical expressions on the Web was limited to
mainly displaying images (JPG or GIF) of the scientific notation or posting the document as a
PDF file. MathML allows the information to be displayed on the Web, and makes it available for
searching, indexing, or reuse in other applications.
The way in which web pages are formatted, and thus displayed, is controlled through the
use of the HyperText Mark-up Language, Known simply as HTML.
HTML web pages are standard ASCII (American Standard Code for Information
Interchange) file. Each web page is a simple text file which is not stored or encoded in
any complex way. Html is a set of formatting marks which can be used to influence the
way the web page is displayed on the client browser, once it has been delivered by the
WWW server. The HTML formatting marks are known as elements.
Once the web browser receives the ASCII web file it scans the file looking for the
element markers which instruct it to, for example display this text as a large heading and
to insert a graphic at a particular position. The web browser the displays the web page in
accordance to these instructions.
HTML is a single, predefined markup language that forces Web designers to use its limiting and
lax syntax and structure. The HTML standard was not designed with other platforms in mind,
such as Web TV’s, mobile phones or PDAs. The structural markup does little to describe the
content beyond paragraph, list, title and heading.
XML breaks the restricting chains of HTML by allowing people to create their own markup
languages for exchanging information. The tags can be descriptive of the content and authors
decide how the document will be displayed using style sheets (CSS and XSL). Because of
XML's consistent syntax and structure, documents can be transformed and published to multiple
forms of media and content can be exchanged between other XML applications.
HTML was useful in the part it has played in the success of the Web but has been outgrown as
the Web requires more robust, flexible languages to support it's expanding forms of
communication and data exchange.
Summary
XML will never completely replace SGML because SGML is still considered better for long-
time storage of complex documents. However, XML has already replaced HTML as the
recommended markup language for the Web with the creation of XHTML 1.0.
Even though XHTML has not made the HTML that currently exists on the Web obsolete, HTML
4.01 is the last version of HTML. XHTML (an XML application) is the foundation for a
universally accessible, device independent Web.
Revision Questions
LESSON THREE
3.1 Introduction
In this lesson we are going to look at web design, what it is, components of web design, concepts
used in web design and the factors to consider when designing a web site.
3.4 Factors that influence the significant impact of the web design on web marketing efforts
(i) How long it takes to load a web page
(ii) How often visitors visit the site, register or buy products
(iii) How long users use the site
(iv) How users find the site
(v) How likely users revisit the site
3.7.5. Hypertext
- This is text that contains links to other texts or documents.
- It refers to any word or phrase in an electronic document that can be used as a pointer to a
related text page.
3.7.6. Hypermedia
- This is a system that has links between texts or media that takes users to another web page.
- It contains various types of media hyperlinked to connect a page to other pages.
3.7.7. Link
- This is a connection made on a piece of text or media that takes users to another web page.
- It is a part of web that can be clicked to get to somewhere else.
3.7.8. Hyperlink
- This is a connection or links from one document to another or to any resource within a
document.
- It is the most basic navigational element in a web browser.
3.7.11. In - Line
- This is a resource of some type, which is placed directly into a document.
- It is always used in an image i.e. inline image.
3.8 Web design tools
- HTML documents are plain-text (also known as ASCII) files that can be created using any
text editor. E.g. of text editors include notepad, web-edit, word processors like MS Word,
DOS edit, Netscape composer
- Some WYSIWYG editors can also be used e.g. Front page, Outlook Express, Claris Home
page, Adobe Page Mill.
One can also use graphic tools like Photoshop, Paint, Animated GIF construction set, PageMaker
etc.
In this lesson we are going to look at the structure of an HTML document. The elements that
make up a web page, software that is used in creating web pages, the general structure of a web
page. The elements used in the heading section and introduction to the body section of an html
document.
Advantages of HTML
1. It can be written in any editor.
2. It is universal and simple to learn and implement.
3. It gives an opportunity to further explore and add more features.
There are a number of naming conventions which should be adhered to when creating Web
pages. Web pages should be identified by use of the extension .html.
The html language supports a limited number of graphics formats. The most commonly used
among these are;
i. Graphics interchange format (.GIF)
ii. JPEG compressed files. (.JPEG or .JPG) extension.
Various other file formats have standard filename extensions, some of the common ones include:
i. .MPG - Em-peg movie file
ii. .mpeg – Em-peg movie file
iii. .WAV – Wave sound file
iv. .TXT – Text file
v. .EXE – DOS executable file
vi. .ZIP – DOS compressed zipped file
vii. .Z – UNIX compressed file
viii. .EPS – Encapsulated Postscript file
<HTML>
<HEAD>
<TITLE> title text goes here </TITLE>
</HEAD>
<BODY>
The text of the page goes here
</BODY>
</HTML>
4.6 Exercise
1. Illustrate the use of the <Title> tag in HTML document.
2. Design an HTML document with the elements of the heading section discussed above.
Note that all the elements are open or container tags (elements) and must have their
corresponding closing tags.
5.2 Paragraphs
The element <P> is used to instruct the web browser to place the text that follows it on a new
paragraph, i.e. it inserts a blank line between paragraphs and aligns the text with the left side of
the web browser window. The <P> element is both an empty and an open type.
Attributes of Paragraph tag
<P ALIGN= CENTER></P>
<P ALIGN= RIGHT></P>
<P ALIGN=LEFT></P> is the default alignment i.e. if the align attribute is not included, the
paragraph will be left aligned
Example
<HTML>
<HEAD>
</HEAD>
<BODY>
<P>Hello world!</P>
</BODY>
</HTML>
<HTML>
<HEAD>
</HEAD>
<BODY>
This text forms the first paragraph of my document.
<BR>
This text starts on a new line. Notice that there is no space between this line and the previous one.
<BR>
<BR>
This text is on a another new line. There are two line break elements above this text.
<BR>
<BR>
<BR>
This line has three line break elements above it.
</BODY>
</HTML>
The <PRE> element stands for predefined text and is an open element. Text in between the
opening tag of <PRE> and closing tag, displays text as typed by the user.
The <BLOCKQUOTE> element allows us to format some normal text as though it were a
quotation. It requires a closing element.
The open <ADDRESS> element is used to define some text as being an address, signature and
/or authorship. This element is often found at the top or bottom of a document. It implies a
paragraph break before and after, its normally rendered in an italic typeface.
Physical styles
They offer consistency in that something you tag a certain way will always be displayed that way
for readers of your document.
Note: Most websites stick to fonts like Times Roman and Arial, because most computers have these fonts
installed. If you were to use an elaborate font and your viewers didn't have that font, it will revert to Sans-
Serif or Helvetica, as default.
Example
<HTML>
<HEAD>
<TITLE> My Web Page </TITLE>
</HEAD>
<BODY>
<H1> Example HTML Source </H1>
<P>This is <I >my</I> first web page</P>
The next two words <B> are bold </B><BR>
<U> This text is underlined</U><BR>
Now back to unformatted text<BR>
<EM>emphasis <STRONG>emphasis and strong <STRIKE>emphasis,
strong and strikeout
</STRIKE></STRONG></EM>
</BODY>
</HTML>
NB/ unlike the rest of HTML, the escape sequences are case sensitive.
5.11 Exercises
1. Write a paragraph about your family. Create a web page which will display this
paragraph. Each family member should have a heading, between H1 to H6.
2. Prepare a two-paragraph text about your house. In this paragraph, mention that your
house has a garden, drawing room, two bedrooms, etc. Develop an HTML document
which displays these two paragraph in such a way that each room beomes apage of its
own e.g. garden.html, drawing.html, kitchen.html
The element <CENTER> is used to specify that text, graphics and tables should centred on the
browser window. The <CENTER> element is an open element. The <CENTER> element
implies a <BR> element before and after.
Example:
<HTML>
<HEAD>
</HEAD>
<BODY>
This text is not centered
<CENTER>
This text is centered
</CENTER>
This text is not
</BODY>
</HTML>
6.2 Marquee
6.3 No Breaks
The open <NOBR> element is used to specify that the text it surrounds cannot have any line
breaks inserted by the web browser. This means that even if the screen is resized during
viewing that the line will not be wrapped.
Format:
<NOBR>
Text
</NOBR>
Example;
<HTML>
<HEAD>
<!—example of basefont size-->
</HEAD>
<BODY>
<BASEFONT SIZE=5>
The text here is size five
</BODY>
</HTML>
<BASEFONT SIZE=4>
This paragraph shows some of the font styles available <BR>
<FONT SIZE=1>size1 </FONT>
<FONT SIZE=3>size3 </FONT>
<FONT SIZE=5>size5 </FONT>
<FONT SIZE=7>size7 </FONT> <BR>
Back to base font size<BR>
<FONT SIZE=5 COLOR=red>red </FONT>
<FONT SIZE=6 COLOR=blue>blue </FONT>
<FONT SIZE=7 COLOR=green>green </FONT><BR>
Back to base font
</BODY>
</HTML>
6.7 Exercises
Design a web page of your town and favorite friend using the elements discussed in this chapter.
BGCOLOR is used to change the color of the background window. The BGCOLOR attribute
uses hexadecimal or name of the color. The following example contains the hexadecimal
numbers and there corresponding color names.
Example Colours
Black = "#000000"
Lime = "#00FF00"
Green = = "#008000"
Olive = "#808000"
Yellow = "#FFFF00"
Navy = "#000080"
Blue = "#0000FF"
Teal = "#008080"
Aqua = "#00FFFF
Silver = "#C0C0C0"
Grey = "#808080"
White = "#FFFFFF"
Maroon = "#800000"
Red = "#FF0000"
Purple = "#800080"
Fuchsia = "#FF00FF
Example Format;
<HTML>
<HEAD>
<!--Example of changing background colour-->
</HEAD>
<BODY BGCOLOR=”#800080”>
This web page has a purple background!
</BODY>
</HTML>
Once the background color has been changed it may be necessary to change the text color. The
<BODY> element supports the following attributes;
7.3.1 TEXT this is used to control the colour of all the normal text in the document
which defaults to black.
7.3.2 LINK, VLINK and ALINK enable you to control the colouring of a hypertext
link. VLINK stands for visited link and ALINK for active link, the default
colours for these are blue, purple and red.
<HTML>
<HEAD>
<!--Example of Text colours-->
</HEAD>
<BODY BGCOLOR=”#FFFF00”TEXT=”#FF0000”LINK=”#00FF00”>
This web page has a yellow background and red text!
<AHREF=”trainer/foo.bar”>This link doesn’t go anywhere!</A>
</BODY>
</HTML>
7.4 Background Wallpaper
In as much as you can put wallpaper in MS Windows, so can you put a wallpaper in
your web page. The <BODY> element has BACKGROUND attribute which is used to
define the background image to be used on the page. The BACKGROUND attribute
should be set to point to the URL (location) of the image to be used as the wallpaper.
Example
<HTML>
<HEAD>
<!--Example of Text colours-->
</HEAD>
<BODY BACKGROUND=”trainer/backlogo.gif”>
This web page has a wallpaper background.
</BODY>
</HTML>
7.5 Exercises
7.5.1 Write a note on colour combinations and designing colours using the three
primary colours.
7.5.2 What is the use of the text attribute in the <BODY> tag?
7.5.3 Design a document describing you. Assign a suitable background wallpaper,
background colour and a text colour.
Lesson 8: Listing
8.10 Introduction to Lists
This section will introduce you to the concept of lists. A list is a sequence of items, each
displayed on a separate line and may be indented from the left margin. Lists can either be
numbered or bulleted.
<BR> element can take the attribute CLEAR with the values LEFT, RIGHT or ALL.
<BR CLEAR=LEFT/RIGHT/ALL>
9.12 Exercises
1. Design a web page of an international leader with an appropriate color combination..
Design it with suitable headings and horizontal rules.
2. Design a web page of your favorite town with images of what it looks like.
10.23 Exercise
Write the names of several countries in a paragraph and store it as an HTML document,
“world.html”. Each continents name must be a hot text. When you click Europe, it should open a
file called “Europe.html”. So prepare “Europe.html”,” America.html”, “Africa.html”,”
Asia.html” and “Australia.html”. Each of the HTML documents must give a brief introduction of
the continent and list a few important countries in it. Each country’s name must be a hot text.
When you click India (for example), it must open “India.html”
11.12 Exercise
Write an HTML code to design the following information;
i. Are you a vegetarian or a non-vegetarian?
Vegetarian
Non-vegetarian
ii. What is your profession?
Teaching
Research
Medicine
Engineering
Clerical
Business
Other
iii. Type your comments on our food items. ( use textarea field)
<HTML>
<HEAD><TITLE> EXAMPLE OF TABLE</TITLE>
</HEAD>
<BODY>
<TABLE BORDER=1>
<CAPTION ALIGN=TOP>Information on Cars</CAPTION>
<TR ALIGN=RIGHT
VALIGN=MIDDLE><TH>Car</TH><TD>Ferrari</TD><TD>Toyota</TD><TD>
Nissan</TD>
</TR>
<TR><TH>Cost</TH><TD>$70000</TD><TD>$40000</TD><TD>$20000</TD>
</TR>
<TR><TH>Colour</TH><TD>Red</TD><TD>Blue</TD><TD>White</TD>
</TR>
</TABLE>
</BODY>
</HTML>
12.5 Altering the look of the Table Row
The <TR> element can use both ALIGN and VALIGN
b. VALIGN, controls whether text inside the table cell is aligned to the top, bottom or
vertically centred.
c. NOWRAP, this means that the lines within a cell cannot be broken to fit the width of the
cell.
d. COLSPAN, specifies how many columns the cell should span.
e. ROWSPAN, Specifies how many rows the cell should span.
<HTML>
<HEAD><TITLE> EXAMPLE OF TABLE</TITLE>
</HEAD>
<BODY>
<TABLE BORDER=1>
<CAPTION ALIGN=TOP>Information on Cars</CAPTION>
<TR ><TH COLSPAN=2
ALIGN=CENTER>Car</TH><TD>Ferrari</TD><TD>Toyota</TD><TD>Nissan<
/TD>
</TR>
<TR><TH VALIGN=MIDDLE ROWSPAN=2>Cost</TH><TD
ALIGN=RIGHT>$70000</TD><TD>$40000</TD><TD>$20000</TD>
</TR>
<TR><TH>Colour</TH><TD>Red</TD><TD>Blue</TD><TD>White</TD>
</TR>
</TABLE>
</BODY>
</HTML>
12.9 Exercise
1. Write an HTML program that produces a table that shows the end of
semester timetable for exams.
2. Write an HTML program for your bio-data using tables.
Lesson 13: Frames
13.1 Introduction to Frames
This lesson looks at the concept of frames that is supported by many browsers and is commonly
used in web sites.
<HTML>
<HEAD>
</HEAD>
<FRAMESET>
</FRAMESET>
</HTML>
The <FRAMESET>…</FRAMESET> element is used to define the start and end of a frame
container. The <FRAMESET> element has two attributes. ROWS and COLS. These attributes
take a comma separated list of values in quotation marks. These attributes can be in absolute
pixels or in percentages between 1% - 100%. The special character * can be used to denote a
relative sized frame (the remaining space to the frame).
However, before we can illustrate the use of the <FRAMESET> element we need to be able to
define the URL address of the pages which are to be displayed with these frames. The
<FRAME> element is used to define a single frame within a <FRAMESET>. The <FRAME>
element may occur only inside <FRAMESET> elements.
The <FRAME> element has six attributed:
a. SRC define the URL of the web page to be displayed.
b. NAME allows an individual frame to be named.
c. MARGINWIDTH and MARGINHEIGHT allows space between images and text within
a frame and frame boundary to be adjusted.
d. SCROLLING determines whether a window will be allowed to be scrolled when its
contents are displayed.
e. NORESIZE specifies that the user cannot resize the frames by dragging a frame edge to a
new position.
<HTML>
<HEAD> <!—Example of column frames-->
</HEAD>
<frameset cols=“100,60%,*”>
<NOFRAMES>
This document uses frames
</NOFRAMES>
<frame SRC=“location and file name” SCROLLING=NO>
<frame SRC=“location and file name”NORESIZE>
<frame SRC=“location and file name”>
</frameset>
</HTML>
<HTML>
<HEAD> <!—Example of Row frames-->
</HEAD>
<frameset ROWS=“100,60%,*”>
<NOFRAMES>
This document uses frames
</NOFRAMES>
<frame SRC=“location and file name” SCROLLING=NO>
<frame SRC=“location and file name”NORESIZE>
<frame SRC=“location and file name”>
</frameset>
</HTML>
<HTML>
<HEAD> <!—Example of Row frames-->
</HEAD>
<frameset COLS=“40%,*”>
<NOFRAMES>
This document uses frames
</NOFRAMES>
<frame SRC=“location and file name”>
<frameset ROWS=“20%,*”>
<frame SRC=“location and file name”>
</frameset>
</HTML>
13.7 Exercise
1. Write a set of frames to show your bio-data in a colourful form with suitable links
2. Write a few HTML documents each explaining about a district or county you belong to.
The list of districts must appear in a frame. When you click on a district, the details must
appear in another frame.