Sbec-Internet and Applications - I Bca 2017 PDF
Sbec-Internet and Applications - I Bca 2017 PDF
UNIT – II
Internet Technologies: Modem - Internet addressing – Physical connections – Telephone Lines –
Internet browsers – Internet Explorer – Netscape Navigator.
UNIT - III
Introduction to HTML: Designing a home page – HTML documents – Anchor tag – Hyperlinks.
UNIT – IV
Traditional text and formatting – tables - images - frames
UNIT - V
Case Study: Online Passport – Online Gas Services – Online Train Reservation – Tamilnadu
government services
TEXTBOOKS
1. C Xavier, “World Wide Web with HTML”, Tata McGraw Hill Education, 2000.
2. H.M.Deital, P.J. Deital,“Internet and World Wide Web – How to Program”, 4th Edition “PHI
Learning.
REFERENCE WEBSITES
1. http://www.ebharatgas.com/
2. http://passportindia.gov.in/
3. https://www.irctc.co.in
4. http://www.tn.gov.in/
2. COMPUTERS IN BUSINESS
Computer-based business applications were called Business Data Processing Systems (BDPS) and
COBOL was largely used to design them.
Business data was stored in the form of data files, and COBOL programs were used to process the
data files and generate useful reports.
In COBOL, programs have very lengthy codes. Even a simple payroll system may require a
program of 500 lines and sometimes even more than 1000.
Software that supports creation and management of data files easily and simple queries from the
data files and also gives reports in an attractive formal is called a Data Base Management System
(DBMS).
Dbase was the first popular DBMS, version III became very popular.
Foxbase was a similar DBMS. The same company updated the features of Foxbase and introduced
Foxpro. Now Foxpro is used in several small companies.
At this stage a new technology called Graphical User Interface (GUI) was introduced. This
technology calls for designing programs in such a way that the user can see some pictures and
icons on the monitor, and selects them for giving input, which is very easy for the user.
A GUI divides a program into two parts.
1. To managing the data files, called back end
2. To design pictures and icons to get input from the user, called the front end.
The database management system which supports relational databases and relational features is
called a Relational Database Management System (RDBMS).
3. NETWORKING
A networking is a computers connected to each other.
A centralized network is a network having a central computer (called a server) and other
computers called nodes.
Centralized Network
Example: A centralized airline reservation system has a server at the main office and nodes al all
airports, travel agencies, etc.
In some types of networks, no central server exists.
All the computers are simply connected together through telephone connections and/or radio
waves.
In centralized networks, a remote node can communicate only with the server, whereas in the other
type any two nodes can communicate with each other directly.
In client server architecture, two types of software are needed for the system. The software needed
to do the work of the node is called client software.
The software needed to run the central system is called the server. Clients always ask for resources
(software and data tiles) from the server which does the work of resource sharing.
Computer networks support an enormous number of applications and services such as access to the
World Wide Web, digital video, digital audio, shared use of application and storage servers,
printers, and fax machines, and use of email and instant messaging applications as well as many
others.
Computer networks differ in the transmission medium used to carry their signals, communications
protocols to organize network traffic, the network's size, topology and organizational internet. The
best-known computer network is the Internet.
Following is the list of hardware's required to set up a computer network:-
Network Cables
Distributors
Routers
Internal Network Cards
External Network Cards
The Internet Engineering Task Force (IETF) is responsible for discussing and investigating the
operational and technical problems of Internet.
The Inter NIC is responsible for providing registration services to Internet community.
Connection of Internet:-
Through Dial-up Connection: A dials us connection is a temporary connection, set up between
your computer and ISP (Internet Service Provider) server. A dial-up connection is established
using a modem, which uses the telephone line to dial up the number of ISP server.
Through Broadband Connection: The term broadband is short for broad bandwidth. Bandwidth
refers to the amount of data that a signal or circuit can carry. Broadband connection speeds are
measured in megabits per second (mbps).
Wireless Connection: These days we can also connect to Internet wirelessly.
Wi-Fi: It refers to Wireless Fidelity, which lets you connect to the Internet without a direct line
from your PC to the ISP.
WiMAx: It is a wireless digital communication system. WiMAX can provide broadband wireless
access (BWA) up to 50 km for fixed stations
E-Mail Address
Each user of email is assigned a unique name for his email account. This name is known as E-mail
address. Different users can send and receive messages according to the e-mail address.
E-mail is generally of the form username@domainname. For example,
[email protected] is an e-mail address where webmaster is username and
tutorialspoint.com is domain name.
The username and the domain name are separated by @ (at) symbol.
E-mail addresses are not case sensitive.
Spaces are not allowed in e-mail address.
E-mail Header
The first five lines of an E-mail message is called E-mail header. The header part comprises of
following fields:
From
Date
To
Subject
CC
BCC
Advantages:
E-mail has proved to be powerful and reliable medium of communication. Here are the benefits
of E-mail:
Reliable
Convenience
Speed
Inexpensive
Reliable: Many of the mail systems notify the sender if e-mail message was undeliverable.
Convenience: There is no requirement of stationary and stamps. One does not have to go to post
office. But all these things are not required for sending or receiving an mail.
Speed: E-mail is very fast. However, the speed also depends upon the underlying network.
Inexpensive: The cost of sending e-mail is very low.
Disadvantages
Apart from several benefits of E-mail, there also exists some disadvantages as discussed below:
Forgery
Overload
Misdirection
Junk
Forgery: E-mail doesn’t prevent from forgery, that is, someone impersonating the sender, since
sender is usually not authenticated in any way.
Overload: Convenience of E-mail may result in a flood of mail.
Misdirection: It is possible that you may send e-mail to an unintended recipient.
Junk: Junk emails are undesirable and inappropriate emails. Junk emails are sometimes referred to
as spam.
E-mail Protocols
E-Mail Protocols are set of rules that help the client to properly transmit the information to or from
the mail server. Here in this tutorial, we will discuss various protocols such as
1. SMPTP: SMTP stands for Simple Mail Transfer Protocol. It was first proposed in 1982. It is a
standard protocol used for sending e-mail efficiently and reliably over the internet.
SMTP is application level protocol.
SMTP is connection oriented protocol.
SMTP is text based protocol.
It handles exchange of messages between e-mail servers over TCP/IP network.
Apart from transferring e-mail, SMPT also provides notification regarding incoming mail.
2. IMAP stands for Internet Mail Access Protocol. It was first proposed in 1986. There exist five
versions of IMAP as follows:
1. Original IMAP
2. IMAP2
3. IMAP3
4. IMAP2bis
5. IMAP4
MAP allows the client program to manipulate the e-mail message on the server without
downloading them on the local computer.
The e-mail is hold and maintained by the remote server.
It enables us to take any action such as downloading, delete the mail without reading the
mail. It enables us to create, manipulate and delete remote message folders called mail boxes.
IMAP enables the users to search the e-mails.
3. POP stands for Post Office Protocol. It is generally used to support a single client. There are
several versions of POP but the POP 3 is the current standard.
POP is an application layer internet standard protocol.
Since POP supports offline access to the messages, thus requires less internet usage time.
POP does not allow search facility.
Signatures
Whenever we write a letter, we affix our signature at the end of the letter. This facility has been
included in electronic mail also.
The software we use for sending e-mail has the facility to create and modify our signature
electronically.
The electronic signature is a text-based collection of one or more lines. For example, my signature
can be set as the following.
This signature is appended automatically to all e-mails and sent It is also possible to set the e-mail
signature as a small diagram using text-based symbols.
Voice E-mail
In a usual (text) e-mail, we type the message in the body of the e-mail in text mode.
Recently, some companies have introduced software systems which support voice.
Such software is given as an enhancement to their usual software.
After keying the address to which the e-mail has to be sent, we must speak the message. This voice
e-mail travels just like the text e-mail and reaches its destination. When the receiver opens his
mail, the voice message of the e-mail is heard.
Considering the fact that computer users type an average of 20-30 words per min, and professional
typists type an average 60-80 words, human speech averages 200-250 words per minute. So voice
e-mail is approximately eight times faster.
In voice e-mail technology, editing spell checks, grammar and punctuation checks become
redundant.
Pictures and photographs can also be sent along with voice e-mail messages. One need not be
online at the same time to hear the message.
The message packet reaches the mailbox, and the recipient can open and hear it at any time.
6. RESOURCE SHARING
Every Internet system has some files open for anybody on the Internet.
For example, every Ph D thesis of a university can be copied by anybody free of cost.
These file names and the protocols are advertised in newspapers or private communications or web
pages. Software companies offer the beta version of their new products available on the net.
We can download these files using File Transfer Protocols (FTP).
There are two types of FTP resources available on the Internet They are:
1. Anonymous FTP: The anonymous FTP service is open to everybody on the net. The user
can log on to an FTP server without opening an account on the server. He/she can just log
on with the user ID (Identification) "anonymous". The system will then responds and ask
SENGUNTHAR ARTS & SCIENCE COLLEGE 10
SUB: INTERNET AND APPLICATIONS CLASS: I-BCA
SEM: II STAFF NAME: V.BALASUBRAMANIYAM
your e-mail address. Then it will ask for your (systems') password. After that you can
download any file from the FTP server
2. Non-anonymous FTP: One can download a file only if one creates an account with the
FTP server. The user must already have an account, user ID and a password to download a
file.
7. GOPHER
Gopher is a TCP/IP application layer protocol designed for distributing, searching and retrieving
documents over the internet.
It presented an alternative to the World Wide Web in its early stages.
The Gopher service was first used in the campus-wide Information System of the University of
Minnesota. It became very popular during 1991-93.
Gopher is easy-to-use and user-friendly as com-pared to FTP.
Gopher facilitates simple menu selection features and also provides browsing of large files.
The resources (files) available on Gopher are called gopher space.
Two types of search engine are available in gopher
1. Veronica
2. Jug head
Veronica is popular of the two. Both work much like the web search engine. They search pre-built
databases for keywords that you provide.
The gopher does not retain any information about the client across transactions.
This aspect of gopher design is the key to gopher’s efficiency: the server is only connected to the
user long enough to serve a particular request.
It does not pay the high overhead cost of having hundreds or thousands of users logged in at once.
Later, another search facility called Jughead was also developed. Since the Gopher resources are
arranged in simple linear forms, searching takes more time, and further it does not support
multimedia features. Both FTP and Gopher mainly have text-based resources.
A large quantum of FTP and Gopher-based resources are still available on the Internet However,
things have moved to a better technology the World Wide Web. Now some of the FTP and Gopher
resources have migrated to WWW.
8.1 Hyper-Text:
Hyper-text is a text of more than two dimensions.
Consider any text that is typed from left to right It has only two dimensions:
1. Left to right
2. Top to bottom
Left to right is normally considered as the x-axis and top to bottom is considered the y-axis.
In hyper-text one 2-D text is shown on the screen. Certain words are highlighted.
If we click one of those highlighted words, more details about that word appear in an-other
window. We say that these details form the third dimension, the z-axis, which goes deeper into the
text
This can be done further on the smaller window also. For example, consider the window shown
below Fig.
The word link is appearing in a different color. If we click on it further details are shown in
another window.
Hypertext system can store a large collection of textual and multimedia documents
8.2 Http:
The acronym for Hyper-Text Transfer Protocol is HTTP, and WWW for the World Wide Web.
Pointers connect the web pages in multiple ways in the form of multiple linked lists.
For example, educational websites are arranged in one list, religious webs in another and similarly
for other types also.
com - businesses
edu - educational institutions
gov - government organizations
mil - military organization
org - nonprofit organizations
net - network resources
A site may be in more than one list.
Each page of the web is called a web page or website.
Every Internet-connected system may have a website. If you have a web page, you can keep any
text, pictures, sound or even animation on your website.
Nowadays companies give a complete profile in text, picture and sound on their websites. Text,
picture, sound or animation kept on a website can be seen by anybody who browses the web.
Browsing the web means looking at various web pages one after the other, also called surfing the
web.
8.3 Browsers
The software used for browsing web pages is called a browser. The following are some popular
browsers:
Netscape Navigator
Mosaic
Hot Java
Microsoft Internet Explorer
SENGUNTHAR ARTS & SCIENCE COLLEGE 13
SUB: INTERNET AND APPLICATIONS CLASS: I-BCA
SEM: II STAFF NAME: V.BALASUBRAMANIYAM
8.4 Search Engines
The universally accepted computer language to create hyper-text is called Hyper-Tem Mark-up
Language (HTML).
Websites on the Internet are connected in such a way that one site has a pointer to the next website.
Each website has an address. In the web, we can begin search from a search site or an index site.
These websites are also called search engines. The following are some popular search engines.
1. http:// www.yahoo.com is a search site.
2. http:// www.lycos.com is an index site.
3. http:// wwwAskleeves.com
The home page of the Lycos search engine is shown in Fig It has a text box to choose a particular
topic. We can also choose some of the sites of the Lycos network, such as 11-ipod.com,
Angelfire.com, MailCity.com, WhoWhere.com. Each of these sites help us in their unique ways to
search for information.
AskJeeves is a different type of search engine, which gets us the necessary information by asking
us several questions. Depending upon our replies, it uses other search engines and gets the required
website.
The home page of Ask Jeeves is shown in Fig. This has several questions related to our search. We
can proceed further by replying to these queries.
The home page of the most popular search engine, Yahoo, is shown in Fig.
We can give the user ID and the password for registration. If the user ID is not one which is
already registered, it is accepted by the server. We can then have an e-mail address similar to the
ones shown below.
[email protected]
[email protected]
[email protected]
9. TELNET
Telnet was developed in 1969 to aid in remote connectivity between computers over a network
Telnet is a utility which enables an Internet user to log in and work on another system which is
geographically located in another place of the world. This is also called a remote login facility.
For example, a person has a computer in his office at New Delhi. He has to visit Mumbai on a
family trip. But when he is free at Mumbai, he can log in his system at Delhi from Mumbai and
use all the databases and files, and work on the system.
Telnet can access almost all the libraries in any part of the world and their books.
5 MARK
1. Briefly describe about search Engine.
2. Write note on Hyper-Text with example.
3. Describe about browsers with suitable example.
4. Write a short note on any two search engines.
10 MARK
1. Briefly describe about WWW.
2. Explain the term Electronic Mail (E-MAIL).
INTERNET TECHNOLOGIES:
If we want to connect our computer to the Internet, we can do so only through an Internet server.
There are Companies which have Internet servers and provide Internet connectivity called Internet
Service Providers (ISP).
They have satellite connections with the Internet.
We must apply to an ISP and ask for an Internet connection.
They give a web page, an e-mail box and other facilities. We must have a telephone connection to
communicate with the ISP 's office, and a device called Modem.
Our computer gets connected to the Internet.
We connect our computer to the modem, and the modem is connected to the telephone line. This is
illustrated in Fig.
There are various types of Internet connections. The following are some of them.
Shell Account (text only).
TCP/IP Account (text, graphics, sound and animation).
Shell accounts enable us to browse through text items only: the graphics and multi-media elements
cannot be viewed. So the shell account does not permit full use of Internet capability. Using a shell
account, we can make use of the e-mail facility.
Transfer Control Protocol/Internet Protocol (TCP/IP) is very powerful and most popular. With a
TCP/IP connection, we can have the benefit of Internet fully.
Modems are classified according to their rate of transfer of data, measured in terms of bytes per
second (BPS).
If the data transfer capacity of a modem is 14.4 kilobytes, it means that the rate of transfer of data
through the modem is 14.4 kilobytes per second.
The first modems were "dial-up," meaning they had to dial a phone number to connect to an ISP.
Modern modems are typically DSL or cable modems, which are considered "broadband" devices.
DSL modems operate over standard telephone lines, but use a wider frequency range.
This allows for higher data transfer rates than dial-up modems and enables them to not interfere
with phone calls.
Types of Modem
Modem can be categorized in several ways like direction in which it can transmit data, type of
connection to the transmission line, transmission mode, etc.
Depending on direction of data transmission, modem can be of these types −
1. Simplex − A simplex modem can transfer data in only one direction, from digital device to
network (modulator) or network to digital device (demodulator).
2. Half duplex − A half-duplex modem has the capacity to transfer data in both the directions
but only one at a time.
3. Full duplex − A full duplex modem can transmit data in both the directions simultaneously.
SENGUNTHAR ARTS & SCIENCE COLLEGE 20
SUB: INTERNET AND APPLICATIONS CLASS: I-BCA
SEM: II STAFF NAME: V.BALASUBRAMANIYAM
INTERNET ADDRESSING
◊ Millions of computers have been connected to the Internet.
◊ When we want to communicate with a computer through the Internet, we need to specify the
address of that computer, every computer connected to the Internet is given an address, called the
IP Address [Internet Protocol Address].
◊ The IP address of a computer consists of four groups of numbers separated by periods or dots 0.
◊ For example, 18.181.0.24 is an IP address.
◊ Internet Corporation for Assigned Names and Numbers is responsible for assigning IP addresses.
◊ The first octet referred here is the left most of all. The octets numbered as follows depicting dotted
decimal notation of IP Address:
◊ The number of networks and the number of hosts per class can be derived by this formula:
◊ When calculating hosts' IP addresses, 2 IP addresses are decreased because they cannot be
assigned to hosts, i.e. the first IP of a network is network number and the last IP is reserved for
Broadcast IP.
Class A Address:-
◊ The first bit of the first octet is always set to 0 (zero). Thus the first octet ranges from 1 – 127,
i.e.
◊ Class A addresses only include IP starting from 1.x.x.x to 126.x.x.x only. The IP range 127.x.x.x
is reserved for loopback IP addresses.
◊ The default subnet mask for Class A IP address is 255.0.0.0 which implies that Class A
addressing can have 126 networks (27-2) and 16777214 hosts (224-2).
◊ Class A IP address format is thus: 0NNNNNNN.HHHHHHHH.HHHHHHHH.HHHHHHHH
Class B Address:-
◊ An IP address which belongs to class B has the first two bits in the first octet set to 10, i.e.
Class C Address:-
◊ The first octet of Class C IP address has its first 3 bits set to 110, that is:
◊ Class C IP addresses range from 192.0.0.x to 223.255.255.x. The default subnet mask for Class
C is 255.255.255.x.
◊ Class C gives 2097152 (221) Network addresses and 254 (28-2) Host addresses.
◊ Class C IP address format is: 110NNNNN.NNNNNNNN.NNNNNNNN.HHHHHHHH
Class D Address:-
◊ Very first four bits of the first octet in Class D IP addresses are set to 1110, giving a range of:
◊ Class D has IP address rage from 224.0.0.0 to 239.255.255.255. Class D is reserved for
Multicasting. In multicasting data is not destined for a particular host, that is why there is no
need to extract host address from the IP address, and Class D does not have any subnet mask.
Class E Address:-
This IP Class is reserved for experimental purposes only for R&D or Study. IP addresses in this class
ranges from 240.0.0.0 to 255.255.255.254. Like Class D, this class too is not equipped with any subnet
mask.
Text-based addressing:
◊ Computers are also given another address, which is text-based.
◊ For example, skp .mit .edu is a valid Internet address.
◊ All users have text-based addresses.
◊ An Internet service called DNS (Domain Name System) converts into the actual numerical
address. This address is also called the Uniform Resource Locator (URL).
◊ The Internet address has two parts. They are the:
• Name of the user (user ID)
• Name of the server (server ID).
The @ symbol is given in between the above two names. For example, our address is
[email protected]
◊ My user ID is stxavier and my ISP's server ID is md2 vsnl .net .in. The server ID contains several
parts separated by dots.
Another top-level domain classification is based for the nature of the organization. For example, all
universities and educational institutions are given "edu" as the top-level domain name. Other top-level
domain' names for organizations are given in Table.
The first part of the URL specifies the protocol used. Table shows some URL.s.
Most of the V.34 modems can compress the data in ratio of 4 :1. So, they can achieve a throughput of
28.8 x 4 = 115.2 KBPS in an ideal situation. However, practically they can achieve a speed of at least
56 KBPS.
TELEPHONE LINES
◊ An ordinary Internet account holder gets only a dial-up connection.
◊ Several users share one port of the ISP Server and at one time, only one user can work.
◊ The port is connected to a particular telephone number.
◊ When one user dials the telephone number to get physical connection to the server, if the port is
already in use by another user, an engaged tone will be heard.
Leased Lines:
◊ A leased line connection is very expensive.
◊ The user is given full freedom on a port of the ISP server one port is for his exclusive use.
◊ So he can use it around the clock without any interruption.
◊ Whenever the user dials, he gets a connection and can work on the Internet. Figure shows the
leased line of a user.
Frame Relay:
◊ The frame relay type of connection is cheaper compared to leased line connections.
◊ In a frame relay type connection, we connect our network to the telephone company's frame
relay switch.
◊ The frame relay switch then routes the data traffic to the ISP.
ISDN
◊ Different telecommunication services such as telephone, telex and facsimile fax use separate
networks for each service.
◊ These non-integrated services require separate switching systems, special customer access
networks, individual trunk networks and separate operation staff. These services are costly.
◊ An effort to integrate all these services into a single network is ISDN.
◊ Integrated services digital network (ISDN) is a communication network which is used for
transmitting all -types of integrated data, which includes voice, video, facsimile and computer
signals.
◊ The following are the advantages of an ISDN network
1. increases user productivity
2. higher transmission Rate
3. all types of services are integrated into a single network
4. lower cost
5. higher accuracy level
SENGUNTHAR ARTS & SCIENCE COLLEGE 26
SUB: INTERNET AND APPLICATIONS CLASS: I-BCA
SEM: II STAFF NAME: V.BALASUBRAMANIYAM
There are two types of ISDN services. They are:
1. Basic Rate Interface (BRI)
2. Primary Rate Interface (PRO)
Basic Rate Interface is economically cheaper and is used to connect home or small business
establishments. In a BRI type connection, there are two B-type channels and one D-type channel. Each
B-type channel has 64 KBPS bandwidth and the D channel has 16 KBPS bandwidth as shown below.
The two B-channels are used to send bulk data. The D-channel is used to control the data flow in the
B-channels. Since the data flows in the two B-channels, each of 64 KBPS bandwidth, the theoretical
bandwidth of a BRI line is 128 KBPS. Practically, it may be a little less than 128 KBPS due to several
factors affecting the data transfer.
Recently such computers have become available which are "ready for connecting to ISDN". These
computers have in-built terminal adapter cards, so they can be directly plugged into NT-1.
Architecture:-
There is a lot of web browser available in the market. All of them interpret and display information on
the screen however their capabilities and structure varies depending upon implementation. But the
most basic component that all web browsers must exhibit is listed below:
Controller/Dispatcher
Interpreter
Client Programs
Controller works as a control unit in CPU. It takes input from the keyboard or mouse, interpret it and
make other services to work on the basis of input it receives.
Interpreter receives the information from the controller and executes the instruction line by line.
Some interpreter is mandatory while some are optional For example, HTML interpreter program is
mandatory and java interpreter is optional.
Client Program describes the specific protocol that will be used to access a particular service.
Following are the clients programs that are commonly used:
HTTP
SMTP
FTP
NNTP
POP
Internet Explorer and Netscape Navigator are used commonly to browse the Internet
INTERNET EXPLORER
Internet Explorer is graphical user interface software for browsing the Internet.
Internet explorer is a web browser developed by Microsoft.
To start internet explorer, follow the following steps:
Go to Start button and click Internet Explorer.
Window
A portion of the computer screen that is enclosed by a border is called a window. The size of the
window can be small or big. A typical window is shown in Figure.
File Menu
The file menu has the following choices as shown in Fig
Saving Webpage:-
You can save web page to use in future. In order to save a webpage, follow the steps given below:
Click File > Save As. Save Webpage dialog box appears.
Choose the location where you want to save your webpage from save in: list box. Then
choose the folder where you want to save the webpage.
Save Picture As: This option let you save the picture at specific location with its name. When you
click this option, a dialog box is opened where you can specify its name and location.
Opening a site
When we want to open a website document, we must select Open on the File menu.
The window as shown in Fig appears.
We must select the URL and then click Open to go to the open window, then click the OK button of
the window to open the website.
Edit Menu
The edit menu is used to edit the current document.It is got by clicking Edit on the menu bar.
This menu contains the editing commands such as cutting, copying and pasting.
Copy - Copy highlighted images or text to paste into another application; MS Word, PowerPoint or
other applications. You can also use the keyboard combination Ctrl + C
Find- Used for searching a word or part of word within the document. When we click Find on the Edit
menu we get a window as shown in Fig.
View Menu
The view menu is used to customize the view in our screen.
The view menu as shown Fig has the following commands:
Option Window
If the Show pictures box is ticked, the web page will show the pictures (if any).
If this box is not ticked, the pictures will not be shown on the web page. Similarly, the tick boxes Play
sounds and Play videos can be used for sound and video. In the middle part on the left there is a panel
called Colors with a tick box called Use Windows colors, and two boxes for selecting colors of the text
and background color. ii we tick on the tick box, the original Windows colors are chosen for the
background and the text. If we remove the tick by another click, we can choose the background and
text color. In a web page hot texts will appear in a different color. This can be designed using the right
hand side panel in the middle of the window, called Links. This panel has a tick box, Underline links,
We can now select any color from the palette. If we are not able to choose from this palette, we can
define a new custom color by clicking the button Define Custom Colors. When we click this button,
we get a window as shown in Fig.
We can create a color using the basic colors red, green and blue and add it to the custom colors.
The General window also has a button, Languages, to choose a language for the web.
As websites are created in several languages, this option helps us select the language and then open the
website. On clicking the Languages button, we get a window as shown in Fig.
If we want to add a new language, we click the Add button. We can choose the font for our display by
clicking the Font Settings in the General window. On clicking this button, we get a window as shown
in Fig. We can select a font and click the OK button.
Navigation Window:
The Connection window is to set up connections. The navigation window shown in Fig is a very
useful tool in the Internet Explorer.
Using this window, we can set the starling page URL and can preserve a history of the websites we
visit The number of days up to which the history must be preserved can also be set.
Favorites Menu:
The History option keeps the history of all the sites visited. Internet Explorer also has a provision to
store the addresses of the favorite sites. This is clone in a folder called Favorites. This Favorites folder
can be used in a very convenient form by creating subfolders within this Favorites folder. When we
click the Favorites option in the menu bar, the Favorites menu is displayed as shown in Fig. 3.18. If we
want to add this current web page in Favorites, we can just click the Add to Favorites command of the
Favorites Menu shown in Fig.
On clicking Add to Favorites, we get the window as shown in Fig. 3.19. If we click OK the current
website address will be stored in the Favorites folder. Suppose we want to store it in a subfolder. We
must click the Create in button of this window.-
On clicking it, the window gets extended as shown in Fig. This displays all the subfolders in the
Favorites folder. We can now select the folder in which the address has to be stored and then click the
OK button. If we want to create a new folder, we must select the parent folder and then click the
button New Folder.
Opening a Favorite Site: If we want to open a favorite site which was already stored in a Favorite
folder, we must first click the Favorite menu in the menu bar. All the subfolders of the Favorite folder
appear at the bottom of the pull down menu. Select the desired folder and the desired address. The site
is opened. For example, suppose a site with the name "Xavier" is al-ready in a subfolder Research in
the Favorites folder.
Organizing the Favorites Folder: If we want to rearrange the Favorites folder, we must click the
Organize Favorites command in the Favorites menu. We can rearrange them by click-and-drag mouse
operation. We can delete any subfolder by just pressing the delete key after selecting the subfolder.
This window has five buttons, namely:
• Delete
• Rename
• Move
• Open
• Close
NETSCAPE NAVIGATOR
Netscape Navigator was the most popular web browser before Microsoft launched Internet Explorer.
The Netscape Navigator window has a format similar to that of Intern Explorer.
The window has a menu bar with the following menu options.
• File
• Edit
• View
• Go
• Communicator
• Help
File Menu
The File menu is used to customize the page setup, to preview, to print the document for opening or
saving a page, closing a page or exiting Netscape Navigator.
Edit Menu
The Edit menu is used to edit the content of a frame. It is possible to select a portion o the whole, Cut
it, Copy it, Move it or Paste it at any desired location. The Edit menu i similar to the edit menu of any
word processor
View Menu
The View menu is used to customize the view screen of Navigator
Communicator Menu
This menu is very important in choosing the communicator and choosing bookmarks, etc. It has four
parts. In the first part of the menu, the list of communications are shown, which are:
Bookmark
The Bookmark's option of the Communicator menu is used to make bookmarks for our favorite
websites. This is similar to the Favorites option of Internet Explorer.
Security
Netscape Navigator has a set of security options to make you feel secure. Since the Internet connects
your system (network) to other systems across the globe, you have to be very careful and secure lest
your valuable data is copied or damaged by anybody. We must click the Security tool on the tool bar
to go into the security window.
Go menu:
The Go menu is used to navigate through pages that you have visited.
Back - this takes you back to the page you just viewed
Forward - this will take you forward a page
Home - this returns you to the Home page set in Netscape Preferences
At the bottom of this window you will find a list of the titles of the last few pages that you have
viewed. You can highlight any of the pages on the list and go to that page.
2 MARK:
1. Define MODEM.
2. List out types of modem.
3. What is meant by port? List out types.
4. What is meant by ISP?
5. Expand ISDN, DSL.
6. Define Netscape navigator.
7. Define socket.
5 MARK:
1. Explain about Internet addressing.
2. Explain on types of port.
3. Write short note on Internet browser.
10 MARK:
1. Briefly explain telephone lines.
2. Write short note on Internet explorer.
INTRODUCTION TO HTML
What is HTML?
HTML is the standard markup language for creating Web pages.
HTML stands for Hyper Text Markup Language
HTML describes the structure of Web pages using markup
HTML elements are the building blocks of HTML pages
HTML elements are represented by tags
HTML tags label pieces of content such as "heading", "paragraph", "table", and so on
Browsers do not display the HTML tags, but use them to render the content of the page
Example:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Output:
HTML Tags
The <!DOCTYPE html> declaration defines this document to be HTML5
The <html> element is the root element of an HTML page
The <head> element contains meta information about the document
The <title> element specifies a title for the document
The <body> element contains the visible page content
The <h1> element defines a large heading
The <p> element defines a paragraph
Creating heading:-
Headings are highlighting overall topic of the current page.
There are six levels of headings, from h1 to h6. H1 headings should be used as main headings,
followed by H2 headings, then the less important H3 headings, and so on.
<html>
<body>
<h1> Main Heading </h1>
</body>
</html>
< H1 > tag should use only once in a page and it is supposed to be the main heading of the page. Each
heading has a line break before and after of each heading display, and don't use headings to make text
bold.
Heading tags are used by the search engines to identify words which are more important than the rest
of the page content.
There are six levels of heading and each using a slightly smaller font size.
Bold Text
HTML <b> tag is used to display the written text in bold format. It is strictly a
presentational element.
If you want to show your text in bold letters and not have real semantic meaning, then put it
within <b>.......</b> tag.
The text in between the tags will be bold, and stand out against text around it, the same as in
a word processor. example:
Example
<b>Write Your First Paragraph in bold text.</b></p>
Output:
Write Your First Paragraph in bold text.
2) Italic Text
If you write anything within <i>............</i> element, is shown in italic letters.
<i>Write Your First Paragraph in italic text.</i>
Output:
Write Your First Paragraph in italic text.
3.Underlined Text
If you write anything within <u>.........</u> element, is shown in underlined text.
Example:
<p> <u>Write Your First Paragraph in underlined text.</u></p>
Output:
Write Your First Paragraph in underlined text.
4.Strike Text
Anything written within <strike>.......................</strike> element is displayed with strikethrough. It is
a thin line which cross the statement.
Superscript Text
If you put the content within <sup>..............</sup> element, is shown in superscript ; means it is
displayed half a character's height above the other characters.
Example:
<p>Hello <sup>Write Your First Paragraph in superscript.</sup></p>
Output:
Hello Write Your First Paragraph in superscript.
Subscript Text
If you put the content within <sub>..............</sub> element, is shown in subscript ; means it is
displayed half a character's height below the other characters.
example:
<p>Hello <sub>Write Your First Paragraph in subscript.</sub></p>
Output:
Hello Write Your First Paragraph in subscript.
Deleted Text
Anything that puts within <del>..........</del> is displayed as deleted text.
example:
<p>Hello <del>Delete your first paragraph.</del></p>
Output:
Hello
Inserted Text
Anything that puts within <ins>..........</ins> is displayed as inserted text.
example:
<p> <del>Delete your first paragraph.</del><ins>Write another paragraph.</ins></p>
Output:
Delete your first paragraph.Write another paragraph.
Larger Text
If you want to put your font size larger than the rest of the text then put the content within
<big>.........</big>. It increase one font size larger than the previous one.
Example:
<p>Hello <big>Write the paragraph in larger font.</big></p>
Output:
Hello Write the paragraph in larger font.
Font Colour :-
<font color="#??????"> </font>
Change the colour of a few words or a section of text. The 6 question marks represent the hex
color code, see this list of colours and codes for some samples.
Font Size
<font size="?"> </font>
Replace the ? with a number from 1 to 7 to change the size of the font. One being the
smallest and seven the largest.
Centre:-
<center> </center>
A useful tag, as it says, it makes everything in between the tags centred (in the middle of the
page).
Please note that the foregoing text of Xavier.html has been shown on different lines only for better
readability. Actually, it would be keyed in continuation, and would fill lines of the width of the page
before starting a fresh line.
A fresh line para will start only after an </h>, </p> or a <br> tag. This may be kept in mind while
reading the contents of HTML files throughout the book. In this page, "St Xavier's College" is a hot
text. When this is clicked, it will open college . html shown as follows.
<HTML>
<head>
<title>College </title>
</head>
<body>
<hl>St Xavier' s College</hl>
<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>
When this file is opened, the output appears as shown in Fig. 4.6
Here tlrunelveli kattabomman" is a hot text. It will open a file district.html as follows.
<HTML>
<head>
<title>Tirunelveli </title>
</head>
<body>
<h1>Tirunelveli Kattabomman District </hl>
<hr>
<br>
Tirunelveli District is in the southern part of Tamil Nadu. It is famous for Halwa. River<a
href="thamirabarani .html"> Thamirabarani </a>
is the gift of God to this district .
<br>
</body>
<HTML>
When this file is opened, it appears/ as shown in Fig.
HYPER LINKS
A webpage can contain various links that take you directly to other pages and even specific parts of a
given page. These links are known as hyperlinks. Hyperlinks allow visitors to navigate between Web
sites by clicking on words, phrases, and images. Thus you can create hyperlinks using text or images
available on a webpage.
Linking Documents A link is specified using HTML tag . This tag is called anchor tag and anything
between the opening tag and the closing tag becomes part of the link and a user can click that part to
reach to the linked document. Following is the simple syntax to use tag.
This will produce following result, where you can click on the link generated Tutorials Point to reach
to the home page of Tutorials Point.
Example
Open up your text editor. Type in your , and tags. From here on I will only be writing what goes
between the tags. Type in the following:
Headings in a Table
Headings in a table are defined with the tag.
Cellspacing is the pixel width between the individual data cells in the table (The thickness of the lines
making the table grid). The default is zero. If the border is set at 0, the cellspacing lines will be
invisible.
Cellpadding is the pixel space between the cell contents and the cell border. The default for this
property is also zero. This feature is not used often, but sometimes comes in handy when you have
your borders turned on and you want the contents to be away from the border a bit for easy viewing.
Cellpadding is invisible, even with the border property turned on. Cellpadding can be handled in a
style sheet.
Example:
<html>
<head>
<title>My First Web Page </title>
</head>
<body>
<table width="90%" cellpadding="5" cellspacing="0" >
<tr bgcolor="#EDDD9E">
<td width="200" valign="top"><img src="graphics/contact.gif" width="100"
height="100"></td>
<td valign="top"><h1 align="right">Janet Doeson</h1>
<h3 align="right">Technical Specialist</h3></td>
</tr>
<tr>
<td width="200">
<h3>Menu</h3>
<ul>
<li><a href="home.html">Home</a></li>
<li> <a href="faq.html">FAQ</a></li>
<li> <a href="contact.html">Contact</a></li>
<li> <a href="http://www.austincc.edu">Links</a> </li>
</ul></td>
<td valign="top"><h2 align="center">Welcome!</h2>
<p>Welcome to my first webpage. I created this webpage without the assistance of a
webpage editor. Just my little text editor and a keen understanding of html.</p>
<p>Look around. Notice I'm able to use paragraphs, lists and headings. You may not
be able to tell, but the layout is done with a table. I'm very clever. </p>
<blockquote>
Janet Doeson
Technical Specialist
Welcome!
Welcome to my first webpage. I created this webpage
without the assistance of a webpage editor. Just my
Menu little text editor and a keen understanding of html.
Lily Tomlin
Janet Doeson
Technical Specialist
512.555.5555
Contact me at [email protected]
Set Alignment
We can use the align attribute to position the image:
<img src="image.jpg"align="left">
The following alignment options are available: left, right, top, middle, bottom, absmiddle, absbottom,
baseline, texttop
Example:
<!DOCTYPE html>
<html>
<body>
<h1>The img align attribute</h1>
<p><strong>Note:</strong> The align attribute is not supported in HTML5. Use CSS instead!</p>
<h2>align="bottom" (default):</h2>
<p>This is some text. <img src="smiley.gif" alt="Smiley face" width="42" height="42"> This is some
text.</p>
<h2>align="middle":</h2>
<p>This is some text. <img src="smiley.gif" alt="Smiley face" width="42" height="42"
align="middle"> This is some text.</p>
<h2>align="top":</h2>
<p>This is some text. <img src="smiley.gif" alt="Smiley face" width="42" height="42" align="top">
This is some text.</p>
<h2>align="right":</h2>
<p>This is some text. <img src="smiley.gif" alt="Smiley face" width="42" height="42"
align="right"> This is some text.</p>
<h2>align="left":</h2>
<p>This is some text. <img src="smiley.gif" alt="Smiley face" width="42" height="42" align="left">
This is some text.</p>
</body>
</html>
Output:
FRAMES
In HTML, frames enable you present multiple HTML documents within the same window.
Frames are achieved by creating a frameset page, and defining each frame from within that page.
This frameset page doesn't actually contain any content - just a reference to each frame.
The HTML frame tag is used to specify each frame within the frameset.
All frame tags are nested with a frameset tag.
The <frame> tag defines one particular window (frame) within a <frameset>.
Each <frame> in a <frameset> can have different attributes, such as border, scrolling, the ability
to resize, etc.
A set of frames is defined using the <frameset> tag which ends with the < frameset.> tag.
The <frameset> tag has two attributes.
1. row or column frame
2. size of each frame
The basic concept behind frames is pretty simple:
Use the frameset element in place of the body element in an HTML document.
Use the frame element to create frames for the content of the web page.
Use the src attribute to identify the resource that should be loaded inside each frame.
Create a different file with the contents for each frame.
The sizes of the frames are mentioned in any one of the following units:
1. Pixel
2. Percentage
3. Fraction
SENGUNTHAR ARTS & SCIENCE COLLEGE 72
SUB: INTERNET AND APPLICATIONS CLASS: I-BCA
SEM: II STAFF NAME: V.BALASUBRAMANIYAM
Pixel Unit: The pixel unit simply represents the number of pixels (Picture element} in each frame.
Commas must separate the numbers. For example, consider the following.
<frameset cols="150, 70, 70">
------------
</- frameset>
This definition creates three column-wise frames, with the first frame of 150 pixels width, the second
of 70 pixels width and the third also of 70 pixels width.
Percentage Unit: The percentage unit divides the window according to the specified percentages. For
example, consider the frameset definition:
<frameset rows=70%, 30%>
-------------
</- frameset>
In the above definition, two row-wise frames are defined in the container. The first frame has 70 per
cent of the container and the second one has 30 per cent of the container. If the total percentages is
greater than 100, all percentages are scaled down. If the sum of the percentages is less than 100, the
extra spaces are left out.
Fraction Unit: Instead of using Pixel of percentage units, we can use fraction units to represent the
relative sizes of the frames. Suppose we give the following.
< frameset cols="4", 4*, *, *">
-------------
</frameset>
The first two frames have sizes of four units each, and the third and fourth ones have one unit each. So
the frame sizes are 4/10, 4/10, 1/10 and 1/10 of the overall container size.
Creating Frames:-
To use frames on a page we use <frameset> tag instead of <body> tag.
The Frameset Tag
The <frameset> tag defines how to divide the window into frames
Each frameset defines a set of rows or columns
The values of the rows/columns indicate the amount of screen area each row/column will
occupy
The rows attribute of <frameset> tag defines horizontal frames and cols attribute defines vertical
frames.
Each frame is indicated by <frame> tag and it defines which HTML document shall open into
the frame.
src
This attribute is used to give the file name that should be loaded in the frame. Its value
1
can be any URL. For example, src = "/html/top_frame.htm" will load an HTML file
available in html directory.
name
This attribute allows you to give a name to a frame. It is used to indicate which frame a
2 document should be loaded into. This is especially important when you want to create
links in one frame that load pages into an another frame, in which case the second frame
needs a name to identify itself as the target of the link.
frameborder
This attribute specifies whether or not the borders of that frame are shown; it overrides
3
the value given in the frameborder attribute on the <frameset> tag if one is given, and
this can take values either 1 (yes) or 0 (no).
marginwidth
This attribute allows you to specify the width of the space between the left and right of
4
the frame's borders and the frame's content. The value is given in pixels. For example
marginwidth = "10".
marginheight
This attribute allows you to specify the height of the space between the top and bottom
5
of the frame's borders and its contents. The value is given in pixels. For example
marginheight = "10".
noresize
By default, you can resize any frame by clicking and dragging on the borders of a frame.
6
The noresize attribute prevents a user from being able to resize the frame. For example
noresize = "noresize".
scrolling
This attribute controls the appearance of the scrollbars that appear on the frame. This
7
takes values either "yes", "no" or "auto". For example scrolling = "no" means it should
not have scroll bars.
longdesc
8 This attribute allows you to provide a link to another page containing a long description
of the contents of the frame. For example longdesc = "framedescription.htm"
By making that one change, the frames now load as four rows stacked up on top of each other.
Nested Frameset:
The nested frameset takes the place of the first frame within the parent element. The nested element
can be placed in any position. For example, if we wanted the nested element to appear in the center
position we would just rearrange the elements like this.
Choose the consumer number, if you have more than one consumer number.
Select the payment mode. For eg., Net banking or Credit Card or Debit Card
5 MARKS
1. Write short note on online gas service.
2. Explain in detail about train reservation.
3. What are the Documents Required for Indane Gas New Connection.
4. What are the steps to be followed for online application and appointment.
5. Write the case study for gravity flow.
10 MARKS
1. Explain about processing of online passport
2. Explain about tamilnadu government service.
3. Explain the case study of online reservation?