Advanced Study Material for Computer Science: Web Design
Explore structured advanced study materials through the Internet Technology and Web Design Chapter 08 Web Publishing and Browsing Notes Set 01. Tailored for learners, utilizing these Computer Science resources ensures thorough preparation and strengthens foundational knowledge before final evaluations.
Practice Computer Science Resources: Web Design
Navigate directly to the advanced Computer Science study materials using the digital viewer below. Each resource pack includes detailed conceptual summaries and solved practice questions, allowing students to instantly reinforce their learning.
These notes introduce web publishing and its components, SGML, web hosting, HTML and CGL, and the protocols used to exchange documents. They go on to web page design guidelines, search engines and meta search engines, the World Wide Web, browsers, HTTP and the tools needed to publish a site.
Objectives
At the end of this chapter, the user will be able to:
1. Understand what is web publishing.
2. Know about SGML.
3. Understand about Web Hosting.
4. Know about HTML and CGL.
5. Understand about web page design and principles.
6. Know about web browsers and meta search engines.
Web Publishing
Overview
1. Information publishing is the publishing of information on computer networks.
2. A Web server is a good example of an information publishing system.
3. The Web browser is the container into which web information is published.
4. By far, the most practical way to publish information is with Web technologies.
5. The Internet and intranets provide the platform for a wide range of information either internally or externally.
6. Publishing information is more than creating content.
7. It is also about managing security, document flow, copyright and other factors.
8. Document management is a science in itself which includes storing, tracking, versioning, indexing and searching for a document.
9. Web pages are compound documents that can hold text and individual objects like pictures, sounds, videos, Java applets, ActiveX controls and an electronic mail message with an attachment such as a graphic.
10. The original purpose of compound documents was to provide a single place where users could store all the elements related to a document and, if necessary, send the document to someone else.
Web publishing process: files and images prepared on the designer's computer are sent over FTP, through an ISP, to the web host (web server), and are then reached over HTTP by PCs running web browsers such as Internet Explorer or Netscape.
SGML
1. SGML (Standard Generalized Markup Language) is an international standard for the definition of device-independent, system-independent methods of representing texts in electronic form.
2. SGML is a meta language, that is, a means of formally describing a language, in this case, a markup language.
3. By markup language we mean a set of markup conventions used together for encoding texts.
4. A markup language must specify what markup is allowed, what markup is required, how markup is to be distinguished from text and what the markup means. SGML provides the means for doing the first three, and documentation does the fourth.
Web Hosting
1. Many sites offer free space for web pages, but it comes with a few strings attached.
2. Firstly, these servers offer limited space. One way to overcome the limited space is to put up pages at multiple sites and to link these pages.
3. Secondly, the web master puts banner advertisements on the pages over which the user has no control. That is how they earn revenue. Some sites require regular updating by their members, else the membership is terminated.
4. Thirdly, most of these sites cannot be used for commercial purposes. Of course, there are exceptions.
5. When the site designing is completed, visit any of the sites offering Web hosting services and register as a member.
6. Follow the online instructions and fill out the application form giving personal details.
7. Choose a member name and password.
8. The user might need to choose a member area, also called a neighborhood or pod. Web sites are organized into categories based on themes like Arts and Literature, Computers, Music, etc.
9. Within 24 hours the user will receive an e-mail confirming the application.
10. Read the instructions in the e-mail carefully because they will contain the member name, password and Web site address. It may also have details on how to upload pages to the site.
There are basically three things to consider while web hosting:
1. Server reliability
2. Enough storage and bandwidth
3. E-commerce capability
HTML
1. HTML stands for Hyper Text Markup Language. It is a language for describing web pages.
2. A markup language is a set of markup tags which describe document content.
3. HTML documents contain HTML tags and plain text. HTML documents are also called web pages.
4. HTML describes the structure of a page.
5. HTML, by virtue of its SGML heritage, is a language for describing the structure of a document, not its actual presentation.
6. The idea here is that most documents have common elements, for example, titles, paragraphs and lists. Before starting to write, the user can identify and define the set of elements in that document and give them appropriate names.
The HTML page structure is depicted below:
<html>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>CGL
1. The CGL (Core OpenGL) API is the lowest-level programming interface for the Apple implementation of OpenGL.
2. CGL supports full screen OpenGL drawing and drawing to pixel buffers, which are a hardware-accelerated off-screen drawing location.
3. Any Cocoa or Carbon application can use CGL to get the most direct access to system functionality.
4. The Cocoa classes that support OpenGL and the AGL API are each built on top of CGL.
Documents Interchange Standards
A protocol uses different methods of exchanging information over the network.
Connection-less and Connection-Oriented Protocols
1. With a server the user makes a connection; with HTTP it is a connection-less protocol.
2. With a connection-oriented protocol, clients connect to the server, make a request, get a response and then maintain the connection to handle future requests.
3. An example of a connection-oriented protocol is File Transfer Protocol (FTP).
4. When the user connects to an FTP server, the connection remains open after the user downloads a file.
5. The maintenance of this connection consumes system resources. A server with too many open connections quickly gets overloaded.
6. Consequently, many FTP servers are configured to allow only 250 open connections at one time, so only 250 users can access the FTP server at once.
7. The drawback to a connection-less protocol is that when the same client requests more data, the connection must be re-established.
8. To Web users, this means a delay whenever they request more information.
Stateless and Stateful Protocols
1. There are two kinds of protocols for processing transactions on the Internet: stateless and stateful protocols.
2. In a stateless protocol, no information about a transaction is maintained after the transaction has been processed. In a stateful protocol, state information is kept even after a transaction has been processed.
3. Servers using stateful protocols maintain information about the status of the connection, the processes running and the status of those processes.
4. Usually, this state information resides in memory and consumes system resources.
5. When a client breaks a connection with a server running a stateful protocol, the state information has to be cleared up and is often logged as well.
Components of Web Publishing
There are various components of web publishing:
1. Document management
2. Hosting to Web
3. Managing security
4. Maintaining the site
5. Copyright
Document Management
1. Document management is a science in itself.
2. The Windows and Macintosh environments were important in developing the concept of compound documents.
3. A compound document starts as a document created in an application like Microsoft Word, i.e., it starts as a text document.
4. The document is viewed as a container that can hold objects such as graphics, voice clips and video clips.
5. These objects are either embedded or linked.
Embedded object: An embedded object such as a picture travels with the document but can still be edited using an appropriate application.
Linked object: A linked object may be stored in another location. The document simply contains a link to the object at that location and may display it as well.
Web Page Design Consideration and Principles
Web Page Design Consideration
1. Designing an effective web site requires more than just gathering relevant information and posting it on the web.
2. Like a good paper or research presentation, a quality web project demands as much attention to the selection, organization and presentation of material as to the underlying research itself.
3. The user should strive, above all, to be both clear and engaging in every aspect of site design.
4. Here are some concrete suggestions for making the site a winner.
Before you begin
1. Consider the audience and the goals. The user should have a clear sense of who will be using the site and what kind of experience the user is hoping to provide. What exactly is to be accomplished? Why is this important?
2. Plan the site on paper first. The user can draw a "family tree" of pages with arrows indicating links, or make a hierarchical outline.
3. Either way, it is essential to organize the information and lay out the architecture of the site before attempting to implement the vision.
Site layout
1. Strive for consistency. The project should have an identity, so all the pages should have a common feel; there should be consistency among backgrounds, color schemes, navigational tools and tone of voice.
2. This is especially important if the site's pages are divided among several team members. Otherwise, the project will seem like two or three separate projects lumped together, rather than a single, unified whole.
3. Provide a rich set of links within the site. Ideally, there should be multiple ways for the user to navigate the pages.
4. Consider including a prominent 'home' link or icon on each page, a menu or table of contents and highlighted links within textual material to related information elsewhere on the site.
5. Feel free, of course, also to provide links to other pages elsewhere on the web.
6. Don't hide important information. Users don't like to click too many times to find the information they want. If information is particularly important, make it accessible up front.
7. On any given page, remember that as with a newspaper, the top left corner is the most prominent.
The web medium
1. Provide opportunities for interaction. How is the site any different from a traditional print document? How can the reader be involved in ways that non-digitized texts usually cannot?
2. Interactivity can be a compelling, innovative means of engaging the reader and creating experiences that cannot be replicated in other media.
3. Avoid text-only pages. Ideally, a user should never encounter an entire screen full of uninterrupted text while browsing the site. Take advantage of the web medium.
4. Don't sacrifice elegance for pizzazz. Just because images can be made to fly across the screen does not mean they necessarily should.
5. Every design element of the site (colors, images, animation) ought to correspond thematically with the content and goals of the project.
6. Provide a link for every URL mentioned in the site. If the bibliography or notes include a citation for another website, list the URL in full, but make it 'clickable' as well so that the user can go directly to the site in question.
The front door
1. Give the site a descriptive title. The title should convey the content of the site in a concise but engaging manner.
2. Remember, the title is how the site will be identified on the home pages that list it. Ideally, it should pique the curiosity of users and prompt them to explore the project pages.
3. Include a brief introduction. This should be part of the site's home page, and should explain the scope and purpose of the site.
4. Once users have noticed the title and followed a link to the site, they will expect quickly to find a further elaboration of the title: a brief paragraph or two describing what the site is all about and what makes it interesting.
5. The title catches people's eye; the introduction is the chance to heighten their interest and persuade them to actually stick around and explore.
6. Make the site's home page as useful a starting point as possible.
7. The viewer should be able to see at a glance what the site is about, how it is laid out, and what kinds of resources and features it includes.
8. Ideally, all of this information (along with the site title and introduction) should be visible on a single fast-loading screen that requires a minimum of scrolling.
Accessibility
1. Make sure the text is legible. Check the size, color and font of all text within the site to confirm that it can be easily read. Be especially careful of dark or fancy backgrounds that make text hard to read.
2. Make sure the site is platform independent. The site should be viewable on both Mac and Windows machines using either of the most commonly available browsers, Netscape and Explorer.
3. Consider the needs of the viewers. Think about the bandwidth the site will require.
4. Keep in mind that not all users will have the luxury of an Ethernet connection. Minimize the memory requirements of the site by compressing images and other large files. And make sure all images have ALT-TEXT behind them.
5. This makes the site accessible both to low-vision users and to users with slow modems who have turned the images off.
The end game
1. Thoroughly test the site.
2. Ask a friend to sit down and explore the site. Ask them to think out loud and watch them navigate the site. Do they get lost? Do they have trouble finding links? Do they have trouble understanding the labels? Do they understand the prose?
3. Ideally, the designer should elicit and incorporate feedback about the site in the course of developing it as well as when it is nearing completion.
4. Be sure to test the site on both of the most commonly used browsers, Netscape and Internet Explorer.
5. Check carefully for spelling and grammatical errors before posting the written materials to the web.
Web Page Design Principles
1. Good design is innovative.
2. Good design makes a product useful.
3. Good design is aesthetic.
4. Good design makes a product understandable.
5. Good design is unobtrusive.
6. Good design is honest.
7. Good design is long-lasting.
8. Good design is thorough down to the last detail.
9. Good design is environmentally friendly.
10. Good design is as little design as possible.
Search Engine and Meta Search Engine
Search Engines
1. The search engine is a web program that enables the users to enter words and phrases to search, and scans the vast information on the web to locate sites that match the words or phrase.
2. A web search engine is a software system that is designed to search for information on the World Wide Web.
3. The user can locate useful or interesting web sites by using a search engine.
4. This is an organization with a web site containing a huge database of web site addresses.
5. Search engines also maintain real-time information by running an algorithm on a web-crawler.
6. A query is typed in the form of a subject or a name that describes what the user is seeking, and the search engine provides a list or selection of web site addresses that fit the enquiry.
7. The user can then simply click on an address to jump to that website.
Search Engine Optimization (SEO)
1. Search Engine Optimization is the process of increasing the visibility of a website or a web page in a search engine's natural search results.
2. It is the process of optimizing the web page contents to increase its relevance to specific keywords and to remove barriers to the indexing activities of search engines.
3. SEO makes the website more efficient and visible to its users during the search.
Web Search Engines
1. A web search engine is an interactive tool that helps locate documents on the internet containing terms being searched by the user.
2. Search engines use the bottom-up approach for finding your way around the web.
3. You give a search engine a list of keywords or phrases (called a query) and it returns to you a list of web pages that contain those words or phrases.
4. In other words, search engines are actually databases that contain references to thousands of resources.
5. Users are able to interact with the database, submitting queries that "ask" the database if it contains resources that match specific criteria.
6. Some search engines search only the title of web pages, some by uniform resource locator (URL), some by words in each document in a web site and some by a combination of these.
7. Each search engine has its own way of deciding which of the web pages on its list is most likely to be the one that you are looking for.
8. Some allow more complicated queries than others, where keywords can be combined with Boolean (logical) operations, such as AND, OR and NOT, to produce rather complicated queries.
9. The rules combining these operations are called the syntax of the search engine.
10. There is an art in designing queries that result in the search engine returning a useful list to you.
11. Given the vast number of web pages, a query that is too general may yield literally millions of web pages, most of them useless to you.
12. A query that is too specific may miss many web pages that you would have liked to see.
13. Each engine is also defined as an online utility that quickly searches thousands of web documents for a word or phrase being searched.
List of Search Engines
1. Google
2. Yahoo
3. Ask Jeeves
4. Duck Duck Go
5. Kosmix
6. Yebol
7. Bing
8. MSN
Working of Search Engines
1. Search engines are information retrieval systems designed to help find information stored on a computer system.
2. There are many types of search engines, but the discussion is limited to web search engines which search for information on the World Wide Web.
3. Search engines were started with an idea to ease the process of finding information on the internet.
4. A search engine consists of three parts.
First part
1. The first part is the spider, which is also called the crawler or bot.
2. This spider visits a web page, reads it and then follows links to other pages within the site.
3. This process is often referred to as 'crawling' or 'spidering'.
4. Crawling of a website is done on a very regular basis. The spider visits a website, following links from other websites or website submissions it has received.
5. The content that the spider finds is sent to its database or index, as it is popularly known.
6. This index is like a huge book that contains a copy of every web page (or cache) that the spider finds.
Second part
1. This constitutes the second part of a search engine, the index. It also stores the structure and the way pages are linked to each other.
2. This information is updated every time there is a change in content or linking.
Third part
1. The third part of a search engine is the search engine software that works behind the interface when we use a search engine.
2. This software sifts through the trillions of indexed pages to match the search query that the user has asked.
3. The pages are ranked by search engines and the search results are based on this ranking and relevance to the search term.
4. This is how a search engine determines what order shall be listed for a particular search.
Meta Search Engines
1. A meta search engine is a search tool that sends user requests to several other search engines and/or databases and aggregates the results into a single list or displays them according to their source.
2. Meta search engines enable users to enter search criteria once and access several search engines simultaneously.
3. Search engines provide fast retrieval of information of interest from the web.
4. The problem of knowing where search engines are and how to use them poses some difficulties.
5. Furthermore, empirical results indicate that only 45% of relevant results will likely be returned by a single search engine, that is, each has a recall rate of 45%.
6. This limitation is compounded by the fact that the coverage of a typical search engine is between only 5% and 30% of the web.
7. Meta search engines are designed to mitigate such problems by accessing multiple individual search engines.
The system architecture of a meta search engine contains the following components:
1. Query Interface Module - Responsible for getting the user's query input.
2. Dispatch Module - Responsible for determining to which search engines a specific query is sent.
3. Knowledge-based Module - Used by the Dispatch module to perform decision-making (optional).
4. Interface Agents Module - Responsible for interacting with different search engines using different query formats.
5. Evaluation Module - Responsible for ranking results according to some predefined evaluation methods (optional).
6. Display Module - Responsible for displaying results.
1. Meta search engines operate on the premise that the web is too large for any one search engine to index it all and that more comprehensive search results can be obtained by combining the results from several search engines.
2. This also may save the user from having to use multiple search engines separately. The process of fusion also improves the search result.
Web Meta Search Engines
1. A web meta searcher, also known as a mega index, is a tool that helps users locate information available via the World Wide Web.
2. Meta searchers do not have their own database. Instead they have access to other primary search engines.
3. Web meta searchers provide a single interface that enables users to search many different search engines, indexes and databases simultaneously.
4. There are a number of web meta searchers available.
5. The content of search engines, indexes and databases varies, so the same query typed into several search engines is likely to produce different results.
6. When searching a topic, users often want to see results from various sources.
7. One way to compare the results of several search engines is to type and retype a query into individual search engines one at a time. This can be very time consuming.
8. A meta searcher helps to make this task more efficient by providing a single interface where the query is typed in once and results can be obtained from multiple search engines.
9. Meta searchers are different from other search engines and indexes in the following respects: single search engines and indexes provide a collection or database of resources that can be queried.
10. Meta searchers do not provide a database, i.e., these search engines do not collect web pages, do not accept URLs and do not classify or review web sites.
11. Instead they provide a service to search the databases of several other search engines at the same time to locate web pages that match the query given by the user.
Examples of web meta searchers include: All-in-One Search, cnet, Cyberlands Web, CUSI, Electric Library, Eureka, Savvy Search, ProFusion and MetaCrawler.
World Wide Web (WWW)
Introduction to World Wide Web (WWW)
1. World Wide Web (abbreviated as WWW or W3, commonly known as the web) is a system of interlinked documents that are accessed via the internet.
2. The terms Internet and WWW are often used in everyday speech without much distinction.
3. In 1989 a small group of people led by Tim Berners-Lee at CERN (Conseil Europeen pour la Recherche Nucleaire, or the European Laboratory for Particle Physics) proposed a new protocol for the Internet as well as a system of document access to use it.
4. The intent of this new system, which the group named the World Wide Web, was to allow scientists around the world to use the internet to exchange documents describing their work.
Web or Internet
1. It is important to understand that the Internet and the World Wide Web are not the same thing.
2. The internet is a collection of computers and other devices connected by equipment that allows them to communicate with each other.
3. The web is a collection of software and protocols that has been installed on most, if not all, of the computers on the internet.
4. The internet was quite useful before the web was developed and it is still useful without it. However, it is now the case that most users of the internet use it through the web.
5. The internet is a global data communications system including hardware and software infrastructure that provides connectivity between computers.
6. In contrast, the web is one of the services provided via the internet.
7. The web is a collection of interconnected documents and other resources, linked by hyperlinks and URLs.
8. Thus in short the web is an application running on the internet.
9. Viewing a web page begins either by typing the URL of the page into a web browser or by following hyperlinks to that page.
10. The web browser then initiates a series of communication messages, behind the screens, in order to fetch and display it.
World Wide Web (WWW)
1. With a web browser, one can view web pages that may contain text, images, videos and other multimedia and navigate between them via hyperlinks.
2. The World Wide Web is a system of internet servers that support specially formatted documents.
3. The documents are formatted in a markup language called HTML (HyperText Markup Language) that supports links to other documents, as well as graphics, audio and video files.
4. Web links are stored within the page itself and when you wish to "jump" to the page that is linked, you select the "hotspot" or "anchor". This technique is sometimes called hypermedia or hypertext. Hypertext systems: (a) provide a graphical interface; (b) allow you to create "links" from one piece of information to another; (c) can incorporate references to text, graphics, sound and movies (or multimedia); (d) "understand" other Internet protocols, such as ftp, gopher and telnet.
5. The World Wide Web is nonlinear with no top or bottom. Nonlinear means you do not have to follow a hierarchical path to information resources.
Basic Elements of World Wide Web (WWW)
1. The web is based on a client/server system. We use a web client to communicate with the web server.
2. A web server is a computer connected to the internet that runs a program (which is also called web server) that takes responsibility for storing, retrieving and distributing some of the web files.
3. A web client or web browser is a program on a computer that requests files from the web.
4. URLs are used by web browsers to locate internet resources. A URL specifies the protocol to be used in accessing the resource, the name of the server on which the resource resides and, optionally, the path to the resource. For example, http://www.example.com
5. HyperText Transfer Protocol is the standard protocol that allows web clients and servers to communicate. This protocol is used to carry requests from a browser to a web server and to transport pages from the web server back to the requesting browser.
6. The HyperText Markup Language is the universal language of the web. It is used for writing pages for the web. HTML allows text to include codes that define fonts, layout, embedded graphics and HyperText links. HTML can be compared to word processing.
7. You can tune into Web radio and TV broadcasts and listen to live broadcasts or call up older ones from the archives. The ability to send sound and video over the internet also has other uses. It makes it possible to offer narrated web tours, let buyers preview music or offer verbal descriptions of products.
8. Full multimedia, which includes graphics, sound, video and animation, is widely available over the web. Using technologies such as Shockwave and Java, these presentations can be transferred to your computer.
Browser
1. To access the World Wide Web, you use what is called a web browser.
2. Browsers are sometimes also called web clients; they use HyperText Transfer Protocol to make requests to web servers.
3. When you follow a hyperlink, the browser (acting like a client) sends a request to a site on the internet.
4. That site (acting like a server) returns a file which the browser then has to display.
5. When you run a web client, i.e., a web browser like Netscape Communicator or Microsoft's Internet Explorer, on your computer, the client contacts a web server and requests information or resources.
6. The web server locates and sends the information to the web browser, which displays the results.
Thus browsers:
1. Allow you to enter the address of the site you want to jump to (called a URL or uniform resource locator) or to jump there by clicking hotspots, highlighted words, buttons, pictures or icons called hyperlinks on your screen.
2. Format web documents for display on your screen.
3. Allow you to back up and go forward through pages you have already visited.
4. Allow you to copy text from the screen and paste it into a word processing program.
5. Allow you to print the document you see on the screen.
6. Make it possible to transfer files (text, graphics, movies, animations, sounds and programs) from other computers to your computer (called downloading); they also provide access to newsgroups.
7. Allow you to send and receive e-mail and use other internet services such as ftp (file transfer protocol), gopher and Usenet newsgroups.
Web Browsing Software
1. A web browser is a software application used for presenting and traversing the information on the World Wide Web, including web pages, images, video and other files or data required by users.
2. A web browser is not hardware, it is software.
3. A web browser is a client-side software program which communicates with web servers on the internet and requests the information wanted by users. It also enables uploading and downloading of files.
4. The web address of a particular object published on the web is known as the URL (Uniform Resource Locator). Each object on the web is identified or searched with the help of its URL.
Popular Web Browsing Software
The most popular web browsers are:
1. Microsoft's Internet Explorer
2. Google Chrome
3. Firefox
4. Apple Safari
5. Opera
Functions of Web Browser
1. The web browser gets the URL (Uniform Resource Locator) of the site and resolves the web address through the DNS (Domain Name Server).
2. It identifies the web page and formats the web documents to display on the screen.
3. The web browser helps users to have a history and go back and forward through pages that have already been visited.
4. The web browser makes it possible to copy text from the web page and paste it into a word processing program or as desired by users.
5. The web browser helps to print web documents and pages.
6. The web browser makes it possible to transfer online documents to the user's computer, called downloading.
7. The web browser allows the user to send and receive e-mails through web mail.
Purpose of Web Browsing Software
1. Web browser software sends the required information to the web server and gets the information, and then it displays the result on the user's computer.
2. Simply, internet browsers are the tools we use to navigate through millions of websites.
3. A web browser has the ability to interpret or display many types of stored files like HTML and other browser-supported files even when it is not connected to the internet.
4. In Windows 2000, for example, Internet Explorer is a built-in browser that enables users to open most image files quickly.
5. Web browsers are used for business, marketing, education, medicine and gathering information about subjects.
6. A web browser makes it easier to get the most from the World Wide Web, whether users are searching for new information or browsing their favorite web sites.
7. A web browser helps the user to open several web pages at the same time.
8. A web browser allows the user to maintain a history of visited web pages and also to store web pages as favorites.
9. The user can switch between many different web pages easily.
To Configure a Web Browser
Configuring Internet Explorer to default settings
1. Open Internet Explorer and click the Explorer menu.
2. Then select the Internet Options menu. The Internet Options dialog box opens.
3. Select the Advanced tab from the Internet Options dialog box.
4. Click the Reset button.
5. Check the Delete personal settings option and then click the Reset button in the Reset Internet Explorer Settings dialog box.
6. Finally click the Close button.
Configuring Chrome to default settings
1. Open the Chrome browser and click on the Chrome menu.
2. Then select Settings from the menu.
3. Enter Reset browser in the search settings option.
4. Then click the Reset browser settings button.
5. From the dialog box click the Reset button.
6. Then close the browser and open it again.
HTTP
1. The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems.
2. This is the foundation for data communication for the World Wide Web (i.e. internet) since 1990.
3. HTTP is a generic and stateless protocol which can be used for other purposes as well using extension of its request methods, error codes and headers.
4. Basically, HTTP is a TCP/IP based communication protocol, which is used to deliver data (HTML files, image files, query results etc.) on the World Wide Web.
5. The default port is TCP 80, but other ports can be used.
6. It provides a standardized way for computers to communicate with each other.
7. The HTTP specification specifies how clients' requests for data will be constructed and sent to the server, and how servers respond to these requests.
Basic Features of HTTP
There are three basic features which make HTTP a simple but powerful protocol.
1. HTTP is connection-less. The HTTP client, i.e. the browser, initiates an HTTP request and after a request is made, the client disconnects from the server and waits for a response. The server processes the request and re-establishes the connection with the client to send the response back.
2. HTTP is media independent. Any type of data can be sent by HTTP as long as both the client and server know how to handle the data content. It is required for the client as well as the server to specify the content type using an appropriate MIME-type.
3. HTTP is stateless. HTTP is connection-less and this is a direct result of HTTP being a stateless protocol. The server and client are aware of each other only during a current request. Afterwards, both of them forget about each other. Due to this nature of the protocol, neither the client nor the server can retain information between different requests across the web pages.
HTTP Architecture
The HTTP protocol is a request/response protocol based on client/server architecture, where web browsers, robots and search engines, etc. act like HTTP clients and the web server acts as the server.
Client: The HTTP client sends a request to the server in the form of a request method, URI and protocol version, followed by a MIME-like message containing request modifiers, client information and possible body content over a TCP/IP connection.
Server: The HTTP server responds with a status line, including the message's protocol version and a success or error code, followed by a MIME-like message containing server information, entity meta information and possible entity-body content.
HTTP Version
HTTP uses a <major>.<minor> numbering scheme to indicate versions of the protocol. The version of an HTTP message is indicated by an HTTP-Version field in the first line. Here is the general syntax of specifying the HTTP version number:
HTTP-Version = "HTTP" "/" 1*DIGIT "." 1*DIGIT
Example: HTTP/1.0 or HTTP/1.1
Uniform Resource Identifiers (URI)
A Uniform Resource Identifier (URI) is a simply formatted, case-insensitive string containing name, location etc. to identify a resource, for example a website, a web service etc. A general syntax of URI used for HTTP is as follows:
URI = "http:" "//" host [":" port] [ abs_path [ "?" query ]]
1. If the port is empty or not given, port 80 is assumed for HTTP and an empty abs_path is equivalent to an abs_path of "/".
2. The characters other than those in the reserved and unsafe sets are equivalent to their "%" HEX HEX encoding.
Date/Time Formats
All HTTP date/time stamps must be represented in Greenwich Mean Time (GMT), without exception. HTTP applications are allowed to use any of the following three representations of date/time stamps:
Sun, 06 Nov 1994 08:49:37 GMT ; RFC 822, updated by RFC 1123 Sunday, 06-Nov-94 08:49:37 GMT ; RFC 850, obsoleted by RFC 1036 Sun Nov 6 08:49:37 1994 ; ANSI C's asctime() format
Character Sets
A character set is used to specify the character sets that the client prefers. Multiple character sets can be listed separated by commas. If a value is not specified, the default is US-ASCII. Following are valid character sets:
US-ASCII ISO-8859-1 ISO-8859-7
Content Encodings
1. A content encoding value indicates that an encoding algorithm has been used to encode the content before passing it over the network.
2. Content codings are primarily used to allow a document to be compressed or otherwise usefully transformed without losing its identity.
3. All content-coding values are case-insensitive. HTTP/1.1 uses content-coding values in the Accept-Encoding and Content-Encoding header fields.
Following are valid encoding schemes:
Accept-encoding: gzip Accept-encoding: compress Accept-encoding: deflate
Media Types
1. HTTP uses Internet Media Types in the Content-Type and Accept header fields in order to provide open and extensible data typing and type negotiation.
2. All the media-type values are registered with the Internet Assigned Numbers Authority (IANA).
3. Following is the general syntax to specify a media type:
Media-type = type "/" subtype *(";" parameter)The type, subtype and parameter attribute names are case-insensitive. Example:
Accept: image/gif
Language Tags
HTTP uses language tags within the Accept-Language and Content-Language fields. A language tag is composed of 1 or more parts: a primary language tag and a possibly empty series of subtags.
Language-tag = primary-tag *("-" subtag)White space is not allowed within the tag and all tags are case-insensitive. Example tags include:
en, en-US, en-cockney, i-cherokee, x-pig-latin
HTTP Request Header
1. The request header is the information, in the form of a text record, that a user's browser sends to a web server containing the details of what the browser wants and will accept back from the server.
2. The request header also contains the type, version and capabilities of the browser that is making the request so that the server returns compatible data.
3. Upon receipt of the request header, the server will return an HTTP response header to the client that is attached to the file(s) being sent.
HTTP Response Header
1. The response header is the information, in the form of a text record, that a web server sends back to a client's browser in response to receiving an HTTP request.
2. The response header contains the date, size and type of file that the server is sending back to the client and also data about the server itself. The header is attached to the files being sent back to the client.
3. Contrast with an HTTP request header.
Publishing Tools
Hardware
1. The most important item is the computer, which must have a modem or network connection to allow access to the Internet.
2. The type of computer will obviously depend on the user's budget.
3. The power of the computer (how fast it will run) depends on processor speed and RAM (Random Access Memory). Most computers in schools use either the PC (Windows) or the Macintosh operating system.
Software
The user will need the following software before beginning to create web pages:
1. A text editing package. For example, Notepad (Windows) or SimpleText (Mac).
2. Graphics processing software. For example, PaintShop Pro.
3. A web browser. The two most commonly used are Microsoft Internet Explorer and Netscape Navigator. It may be a good idea to have both these browsers on the computer and to test the web pages on each.
Other Useful Tools
Hardware
1. A scanner, handy for including project work and/or photographs on the web site. There are two main types: hand-held or flat-bed.
2. Digital still camera, which simplifies the process of including high-quality photos on the web site.
3. Video camera, which can be analogue or digital.
Software
1. HTML editor
2. Image mapping software
3. Animation software
Summary
In this chapter, the user has learned about:
1. Web publishing and its tools.
2. SGML, HTML and CGL.
3. Web hosting.
4. Web page design consideration and principles.
5. Search engines and web browsers.
Free study material for Computer Science
Free CBSE Study Guides: Computer Science Web Design
Quick Revision Material for Web Design
Review targeted study resources for Web Design tailored for learners. Utilizing these structured notes and quick-revision tools ensures complete alignment with current CBSE evaluation standards.
Expert Notes and Solved Exam Questions
Designed around the official curriculum, these study guides guarantee standard compliance. Reviewing step-by-step solutions clarifies complex sub-topics within Web Design and demystifies standard marking schemes for Computer Science evaluations.
Additional Study Resources for
Wrap up your chapter revision by testing your knowledge against standard objective question formats. Explore our full library of free, up-to-date sample papers and online assessments to secure top grades in your CBSE examinations.
FAQs
The latest 2026-27 advanced study resources for Computer Science are available for free on StudiesToday.com which includes NCERT Exemplars, high-order thinking skills (HOTS) questions, and deep-dive concept summaries.
Our exhaustive Computer Science package includes chapter wise revision notes, solved practice sheets, important formulas and Concept Maps to help in better understanding of all topics.
Yes. For , our resources have been developed to help you get better marks in school exams and also build fundamental strength needed for entrance tests including Competency Based learning.
in , students should use Active Recall method, read the concept summary, then solve the Important Questions section without looking at the answers and then check your answers.
All Computer Science study materials are provided in mobile-friendly PDF. You can download and save them on your device.
Yes, our team has ensured that all Computer Science materials for are strictly aligned with the National Education Policy (NEP) 2020 and the latest 2026-27 syllabus.