Web Technology
Web Technology
Web Technology
By
Abubakar Abdullahi
June, 2023
1
COURSE OUTLINE
1. A brief history of Internet.
2. Basic Definitions: Design, Web Design, World Wide Web, Browsers, Web
Servers
3. Introduction to HTML.
4. Building Web Application using Dreamweaver – Window Elements, Site
Definition, Text, Colour, Background, Graphics, Linking.
5. Dynamic Web Application Using PHP
6. Basic Cascading Style Sheet
7. Graphic Design using Macromedia Fireworks, Macromedia Flash, 3D Flash
Animator, Photoshop etc.
8. Client Server Computing using the Web.
9. Client Site Script: JavaScript, VB Script
10. Server Site Script: PHP, ASP, JSP, etc.
11. Web Development for Mobile and Wireless Computing
12. Proofing and testing the site
13. Content Management System
14. Publishing via FTP
15. Hosting Site
2
What is Internet
The Internet is the global system of interconnected computer networks that uses the
Internet protocol suite to communicate between networks and devices. It is a network
of networks that consists of private, public, academic, business, and government
networks of local to global scope, linked by a broad array of electronic, wireless, and
optical networking technologies.
Evolution of Internet
The concept of Internet was originated in 1969 and has undergone several
technological & Infrastructural changes as discussed below:
The origin of Internet devised from the concept of Advanced Research Project
Agency Network (ARPANET).
ARPANET was developed by United States Department of Defense.
Basic purpose of ARPANET was to provide communication among the various
bodies of government.
Initially, there were only four nodes, formally called Hosts.
In 1972, the ARPANET spread over the globe with 23 nodes located at different
countries and thus became known as Internet.
By the time, with invention of new technologies such as TCP/IP protocols, DNS,
WWW, browsers, scripting languages etc.,Internet provided a medium to publish
and access information over the web.
3
Internet Domain Name System
When DNS was not into existence, one had to download a Host file containing host
names and their corresponding IP address. But with increase in number of hosts of
internet, the size of host file also increased. This resulted in increased traffic on
downloading this file. To solve this problem the DNS system was introduced.
Domain Name System helps to resolve the host name to an address. It uses a
hierarchical naming scheme and distributed database of IP addresses and associated
names
IP Address
IP address is a unique logical address assigned to a machine over the network. An IP
address exhibits the following properties:
This document can be a web page, image, audio, video or anything else present on
the web.
4
For example, www.gsu.edu.ng/internet_technology/index.html is an URL to the
index.html which is stored on GSU web server under internet_technology directory.
URL Types
Absolute URL
Relative URL
Absolute URL
Absolute URL is a complete address of a resource on the web. This completed address
comprises of protocol used, server name, path name and file name.
The protocol part tells the web browser how to handle the file. Similarly we have some
other protocols also that can be used to create URL are:
FTP
https
Gopher
mailto
news
Relative URL
Relative URL is a partial address of a webpage. Unlike absolute URL, the protocol and
server part are omitted from relative URL.
Relative URLs are used for internal links i.e. to create links to file that are part of
same website as the WebPages on which you are placing the link.
5
For example, to link an image on
gsu.edu.ng/internet_technology/internet_referemce_models, we can use the
relative URL which can take the form like /internet_technologies/internet-
osi_model.jpg.
Used to link web pages on different Used to link web pages within the same website.
websites
Changes when the server name or Remains same even of we change the server
directory name changes name or directory name.
Domain Names
Domain Name is a symbolic string associated with an IP address. There are several
domain names available; some of them are generic such as com, edu, gov, net etc,
while some country level domain names such as au, in, za, us etc.
6
.edu Education
au Australia
in India
cl Chile
fr France
us United States
za South Africa
uk United Kingdom
jp Japan
es Spain
de Germany
ca Canada
ee Estonia
hk Hong Kong
ng Nigeria
7
DNS Working
DNS translates the domain name into IP address automatically. Following steps will
take you through the steps included in domain resolution process:
When we type www.gsu.edu.ng into the browser, it asks the local DNS Server
for its IP address.
Here the local DNS is at ISP end.
When the local DNS does not find the IP address of requested domain name, it
forwards the request to the root DNS server and again enquires about IP address
of it.
The root DNS server replies with delegation that I do not know the IP address of
www. gsu.edu.ng but know the IP address of DNS Server.
The local DNS server then asks the com DNS Server the same question.
The com DNS Server replies the same that it does not know the IP address of
www.gsu.edu.ng but knows the address of gsu.edu.ng.
Then the local DNS asks the gsu.edu.ng DNS server the same question.
Then gsu.edu.ng DNS server replies with IP address of www.gsu.edu.ng
Now, the local DNS sends the IP address of www.gsu.edu.ng to the computer
that sends the request.
Web Design
Web design refers to the process of creating a website, from the structure of each page
to the color schemes and font choices.
It’s worth noting the distinction between web design and web development. Web
development is a broader term, and it includes setting up the back-end side of your
website — that is, all the behind-the-scenes coding. Web design, however, is limited to
front-end optimization — that is, the part of your website users see.
8
Web browser
A web browser is an application for accessing websites. When a user requests a web
page from a particular website, the browser retrieves its files from a web server and
then displays the page on the user's screen. Browsers are used on a range of devices,
Web server
A web server is computer software and underlying hardware that accepts requests via
HTTP or its secure variant HTTPS. A user agent, commonly a web browser or web
resource using HTTP, and the server responds with the content of that resource or an
error message
9
Apache Web Server
Apache web server is one of the most popular web servers developed by the Apache
Software Foundation. Open source software, Apache supports almost all operating
systems such as Linux, Windows, Unix FreeBSD, Mac OS and more. Approximately,
10
Introduction to HTML
HTML stands for Hypertext Markup Language. It is the most basic language, and
language. It contains the elements that can change/develop a web page’s look and
the displayed contents. Or we can say that HTML creates or defines the structure of
web pages. We can create websites using HTML which can be viewed on internet-
connected devices like laptops, android mobile phones, etc. It was created by Tim
Berners-Lee in 1991. The first version of HTML is HTML 2.0 which was published in
1999, and the latest version is HTML 5. We can save HTML files with an extension
.html.
What is Hypertext?
Text that is not restricted to a sequential format and that includes links to other text
is called Hypertext. The links can connect online pages inside a single or different
website.
Markup Language is a language that is interpreted by the browser and it defines the
markup files use common words rather than the complicated syntax of
programming languages.
11
HTML Tags: HTML tags are special keywords that specify how the data will be
displayed or how to format the data by the web browsers. With tags, the web
browser can make out in the document that: what is HTML content and what is the
normal plain content (as tags are always written in angular brackets <>). Usually, the
start of the tags is given by angular brackets <> and the end by angular brackets,
Example:
<head></head>
HTML Element: The collection of start and end tags with the content inserted in
Example:
<!DOCTYPE html>: Defines the type of document. Here it defines that the
<html> </html>: It is the root element and all the other tags are contained in it.
<head> </head>: It contains metadata of the HTML document & is actually not
displayed on the webpage. The heading starts with <head> and end with
</head>.
<title> </title>: It is used to create a title of the document and the title appears
in the title bar at the top. At least one title appears in every document. The title
12
portion of the document starts with <title> and ends with </title>, and in
the web page. The content may be an image, some text, some links, etc. This
part represents the body of the web document, which often includes headings,
13
Cascading Style Sheet
Cascading Style Sheets is a style sheet language used for describing the presentation
cornerstone technology of the World Wide Web, alongside HTML and JavaScript. CSS
<Practical>
Macromedia Fireworks
Adobe Fireworks (formerly Macromedia Fireworks) was a bitmap and vector graphics
editor, which Adobe acquired in 2005. Fireworks was made for web designers for
rapidly creating website prototypes and application interfaces. Its features included
slices, which are segments of an image that are converted to HTML elements, and the
ability to add hotspots, which are segments of an image that are converted to
hyperlinks.
<Practical>
14
Macromedia Dreamweaver
Dreamweaver is an application that lets you design, code, and manage websites.
What is interesting about the software is that it offers both the possibility to write
<Practical>
Client-Server Computing
In client-server computing, the clients request a resource and the server provides that
resource. A server may serve multiple clients at the same time while a client is in
contact with only one server. Both the client and server usually communicate via a
computer network but sometimes they may reside in the same system.
<Practical>
15
Dynamic Web Application Using PHP
1. Preparing the Database
2. Database Connection
16
7. Deleting Records
17