Chapter 1 The World Wide Web
Chapter 1 The World Wide Web
A website is a collection of publicly accessible, interlinked Web pages that share a single domain
name. Websites have many functions and can be used in various fashions; a website can be a
personal website, a corporate website for a company, a government website, an organization
website, etc. Websites are typically dedicated to a particular topic or purpose, ranging from
entertainment and social networking to providing news and education. All publicly accessible
websites collectively constitute the World Wide Web. Websites can be accessed via a public
Internet Protocol (IP) network, such as the Internet, or a private local area network (LAN), by a
uniform resource locator (URL) that identifies the site.
Web pages, which are the building blocks of websites and contain information, are documents,
typically composed in plain text interspersed with formatting instructions of Hypertext Markup
Language (HTML). They may incorporate elements from other websites with suitable markup
anchors. Web pages are accessed and transported with the Hypertext Transfer Protocol (HTTP).
The user's application, often a web browser, renders the page content according to its HTML
markup instructions onto a display terminal. Hyperlinking between web pages conveys to the
reader the site structure and guides the navigation of the site, which often starts with a home page
containing a directory of the site web content. There are billions of websites on the Internet today
that can be broken into one of the following types of website categories.
Internet
The Internet is a global network comprised of smaller networks that are interconnected using
standardized communication protocols. The Internet standards describe a framework known as the
Internet protocol suite. This model divides methods into a layered system of protocols.
1. Application layer (highest) – concerned with the data (URL, type, etc.). This is where
HTTP, HTTPS, etc., comes in.
2. Transport layer – responsible for end-to-end communication over a network.
3. Network layer – provides data route.
The Internet provides a variety of information and communication facilities; contains forums,
databases, email, hypertext, etc. It 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.
The Web is the only way to access information through the Internet. It’s a system of Internet
servers that support specially formatted documents. The documents are formatted in a markup
language called HTML, or “HyperText Markup Language”, which supports a number of features
including links and multimedia. These documents are interlinked using hypertext links and are
accessible via the Internet. We access the Web using Web browsers.
Internet Web
The Internet is the network of networks and the The Web is a way to access information
network allows to exchange of data between through the Internet.
two or more computers.
It is also known as the Network of Networks. The Web is a model for sharing information
using the Internet.
The Internet is a way of transporting The protocol used by the web is HTTP.
information between devices.
Accessible in a variety of ways. The Web is accessed by the Web Browser.
Network protocols are used to transport data. Accesses documents and online sites through
browsers.
The special link addresses are a very important part of the Web. You probably already type Web
addresses into the address bar of your browser (http://www.google.com), but you may not be
completely aware of how they work. Web addresses are technically URLs (Uniform Resource
Locators), and they have a very specific format.
Sometimes, you’ll see the term URI (Uniform Resource Identifier) instead of URL. URI is
technically a more correct name for Web addresses, but the term URL has caught on. The two
terms are close enough to be interchangeable.
Subdomain: Everything between the host name (usually www) and the domain name
(often .com) is the subdomain. This is used so that large organizations can have multiple
servers on the same domain. For example, my department Web page is
http://www.cs.wru.edu.et. www is the name of the primary server, and this is the computer
science department at wru (Werabe university),which is an educational organization.
Page name: Sometimes, an address specifies a particular document on the Web. This page
name follows the address and usually ends with .html. Sometimes, the page name includes
subdirectories and username information, as well. The page name is sometimes optional.
Many servers have a special name set up as the default page, which appears if no other
name is specified. This name is usually index.html but sometimes home.htm. On my server,
index.html is the default name, so I usually just point to www.cs.wru.edu.et /, and the index
page appears.
4. Designing a good website
The success of any website entirely depends on how its web design is. Nicely-designed site which
includes usability and utility determines the success and not the visual design. A website design
does not necessarily mean how it looks like and feels like, but is how it works. Good website
A number of good website designing principles are proposed by different web experts. These
design principles will definitely help web designers to develop awe-inspiring designs and to
enhance the usability of a website. We describe the most widely used web designing principles as
follow.
There are basically two main types of website - static and dynamic.
Static website
A static website is one that has web pages stored on the server in the format that is sent to a client
web browser. It is primarily coded in HTML and CSS are used to control appearance beyond basic
HTML. This type of website usually displays the same information to all visitors.
Static website provide consistent, standard information for an extended period of time. The website
owner may make updates periodically, it is a manual process to edit the text, photos and other
content and may require basic website design skills and software. This may include information
about a company and its products and services through text, photos, animations, audio/video, and
navigation menus.
Advantages of static sites
They are flexibility, every page can be different if desired, to match the layout to
different content, and the designer is free to put in any special effects that a client
may ask for in a unique way on different pages.
Dynamic websites
A dynamic website is one that changes itself frequently and automatically. It display the current
state of a dialogue between users, or provide information in some way personalized to the
requirements of the individual user. Dynamic sites can be interactive by using HTML forms,
storing and reading back browser cookies.
Advantages of dynamic sites
By connecting dynamic sites to a databases you can easily pull in information in an
organized and structured way depending on how the user wants to view them.
This ability to connect to a database means that you can also create a content
management system - an interface which allows the client to input and manage data
via a web-based series of administration pages.
Disadvantages of dynamic sites
The design of a dynamic site is more fixed than a static one because many of the
pages are essentially a template into which data and content is poured to create
multiple pages of a similar type
Costs are higher initially than for a static site, and additional functionality may also
cost more
6. Web page development tools
Web developers create the program codes to manipulate the supplied content, based on the site
design. A web programmer should use a set of programing languages to compile specific functions
that the webpages should do in the background. Here is a set of important programing languages
that a web programmer must be good at.
Web Hosting
Web Hosting is a service that allows hosting/post web-server applications (website or web page)
on a computer system through which web-browser client can have easy access to electronic content
on the Internet.
1. Free Hosting
This is a free non-paid web hosting service. This type of hosting is available with many prominent
sites that offer to host some web pages for no cost.
Advantages
Free of cost
Use websites to place advertisements. banners and other forms of advertising media
Disadvantages:
It is a web hosting service where many website reside on one web server connected to the internet.
This type of hosting is provided under one’s own domain name, www.yourname.com. With a
hosting plan with the wed b hosting company, one can present oneself as a fully independent
identity to his/her web audience.
Advantages
Disadvantages
Hosted on a dedicated server, this type of hosting is best suited for large websites with high traffic.
In this, the company wishing to go online, rents an entire web server from a hosting company. This
is suitable for companies hosting larger websites, maintaining other’s sites or managing a big
online mall etc.
Advantages
Disadvantages:
It is very expensive
Requires superior skill sets
4. Co-located Hosting
This hosting lets you place your own web server on the premises of a service provider. It is similar
to that of dedicated hosting except for the fact that the server is now provided by the user-company
it self and its physical needs are met by the hosting company.
Advantages
Disadvantages
Domain name, often referred to as “web address”, is the address that people type into a browser
address bar to find your website. A registered domain name is unique to you and cannot be used
by anyone else, as it functions on the Internet in a similar way like a street address in the physical
world.
Every computer on the Internet has an address which is unique in nature. It is a string of numbers
and is referred to as IP address. To communicate with each other, computers identify another
computer via its IP address. It is represented in either dotted decimal notation or in binary decimal
notation. Example: The address 172.16.122.204 when represented like these in dotted-decimal
notation and it can be converted into binary notation. After conversion, it becomes 10101100
00010000 01111010 11001100.
But it is difficult for humans to remember this IP address. Thus to find the location on the Internet
easily, DNS was invented. DNS stands for Domain Name Server. It implements a distributed
database which translates IP address into a unique alphanumeric address which is referred to as
Domain Names. Basically, a domain name is the sequence of letters and or numbers separated by
one or more period (“.”). It is just like a pointer to a unique IP address on the computer network.
As an analogy one can consider Domain name as address and DNS as address book of the Internet.
Example 1
www.yahoo.com
As from the above example, it is clear that domain names are easy to remember than an IP address.
Example 2
Thus, we can say like these; domain name refers to the string of letters associated with an IP
address and DNS is a mechanism used to convert an IP address to the domain name.
DNS has organized all the domain names in a hierarchical structure. At the top of this hierarchy
come various Top-level domains followed by second and third-level domains and sub-domains.
All these types of domain names are described as follows.
The Top Level Domains are at the highest level in DNS structure of the Internet. It is sometimes
also referred to as an extension. It is further categorized into- country code TLDs and generic
TLDs which Country is described as follows
It consists of two-letter domains that include one entry for every country. Example – .us for United
Nations, .jp for Japan etc. To target the local audience it is used by companies and organizations.
Only the residents of the country are allowed to be their specified ccTLD but now some countries
allowed the users outside their country to register their corresponding ccTLDs.
IP address changes due to several reasons, due to this IP address of the computer get
changed but DNS may have cached previous IP which will lead to give us wrong
information.