Unit-I
Unit-I
Unit-I
(BCS306)
Course Objective:
• To design web base and context aware systems to acquire, organize process, share
and use the knowledge of web sites.
• The field of website is multidisciplinary as web sites are amazingly complex
systems.
• The major objective of this course is to provide a sound foundation to the students
on the concepts, percepts and practices in a field that is of immense concern to the
industry and business.
Course Outcomes (CO)
• CO-1 Understand the fundamentals of the internet and the World Wide Web
(WWW),TCP/IP, HTTP, Telnet, and FTP, internet protocols such as URLs, email systems,
domain names, and the role of web browsers.
• CO-2 Construct web pages using HTML, including creating the structure, formatting text,
and inserting multimedia elements andManage backgrounds, colors, and hyperlinks in
web pages.
• CO-3 Create and manage tables for layout and presentation and Evaluate the advantages
and disadvantages of using frames in web design. Develop web forms and understand the
role of databases in web applications.
• CO-4 Implement CSS for website layout and print layout and utilize various CSS selectors
and properties for effective styling. working mechanism of Internet, Web Portals and
Ecommerce portals and need of Infrastructure.
• CO-5 Write basic JavaScript code to add interactivity to web pages.
Syllabus:
Module I: Overview of Internet
• Introduction to Internet and WWW, Concept of Networking and Layers of OSI Model, Internet protocols like TCP/IP, http,
telnet and ftp, URL, email, domain name, Web Browsers.
Module II: Principles of Web Design
• Key issues to be considered in web site design. Structure of a Web Page: Introduction to HTML, Elements of HTML syntax,
Head and Body sections, Building HTML documents, Inserting text, images, hyperlinks, Backgrounds and Color Control, HTML
Editors & Tools: Use of different HTML editors and tools like Netscape Communicator and Microsoft Front Page etc
Module III: HTML Tags
• Use of Different HTML tags in web pages. Table Handling: Table layout & presentation, constructing tables in a web page,
developing a web page in a table. Ordered and unordered lists. Frames: Developing Web pages using frames. Advantages
and disadvantages of frames. Creating forms, Role of Databases in web applications.Use of at least one graphical and
animation tools like Adobe Fireworks, Abode Photoshop, Gif Animator, Gimp etc.
Module IV: Cascading style-sheet (CSS) in HTML
• Introduction to Cascading Style Sheets (CSS), Types of Style Sheets (Inline, Internal and External), CSS for Website Layout and
Print Layout. Types of various CSS Selectors, CSS properties: Type Properties, Background Properties, Block Properties, Box
Model Properties, List Properties, Border Properties, Positioning Properties.
Module V: Introduction to Java Script
• Role of java script in a web page, Script writing basics, Adding interactivity to a web page, creating dynamic web pages,
Similarities to java, embedding JavaScript code, embedding java applets in a web page, Form validation using java script
Unit-I- Overview of Internet
• Introduction to Internet
• WWW
• Concept of Networking
• Layers of OSI Model
• Internet protocols like TCP/IP
• http,
• telnet
• ftp
• URL
• email
• domain name
• Web Browsers.
Internet
• A network of networks is called an internetwork, or simply the internet.
• It is the largest network in existence on this planet.
• The internet hugely connects all WANs and it can have connection to LANs
and Home networks.
• Internet uses TCP/IP protocol suite and uses IP as its addressing protocol.
• Present day, Internet is widely implemented using IPv4. Because of shortage
of address spaces, it is gradually migrating from IPv4 to IPv6.
• Internet enables its users to share and access enormous amount of
information worldwide.
• It uses WWW, FTP, email services, audio and video streaming etc. At huge
level, internet works on Client-Server model.
WWW
• The World Wide Web (WWW), often called the Web, is a system of
interconnected webpages and information that you can access using the
Internet.
• The WWW was started by CERN in 1989. WWW is defined as the collection
of different websites around the world, containing different information
shared via local servers(or computers).
• Web pages are linked together using hyperlinks which are HTML-formatted
and, also referred to as hypertext, these are the fundamental units of the
Internet and are accessed through Hypertext Transfer Protocol(HTTP).
Working of WWW
• The below diagram indicates how the
Web operates just like client-server
architecture of the internet.
• When users request web pages or other information, then the web
browser of your system request to the server for the information.
• The web server provide requested services to web browser back and
finally the requested service is utilized by the user who made the
request.
Features of WWW
WWW Internet
It is originated in 1989. It is originated in 1960.
WWW used protocols such as HTTP Internet used protocols such as TCP/IP
MAN
LAN
WAN
Layers of OSI Model
• OSI stands for Open Systems Interconnection.
• It is a 7-layer architecture with each layer having specific functionality to
perform.
• All these 7 layers work collaboratively to transmit the data from one person
to another across the globe.
• The OSI reference model was developed by ISO – ‘International Organization
for Standardization ‘, in the year 1984.
• The OSI model provides a theoretical foundation for understanding network
communication .
• Physical Layer: • Transport Layer:
• Service-point addressing.
• Physical characteristics of medium.
• Segmentation and reassembly.
• Representation of bits.
• Connection control.
• Data rate.
• Flow control.
• Synchronization of bits
• Error control.
• Line configuration.
• Physical topology. • Session Layer:
• Transmission mode. • Dialog control.
• Data Link Layer: • Synchronization.
• Framing • Presentation Layer
• Physical addressing. • Translation
• Flow control. • Encryption.
• Error control. • Compression
• Access control. • Application Layer
• Network Layer • Network virtual terminal
• Logical addressing • File transfer, access, and management.
• Routing • Mail services
Protocol in Each Layer
Internet Protocol –TCP/IP
• Internet Protocols are a set of rules that governs the communication and
exchange of data over the internet.
• Both the sender and receiver should follow the same protocols in order to
communicate the data.
• The internet and many other data networks work by organizing data into
small pieces called packets.
• Each large data sent between two network devices is divided into smaller
packets by the underlying hardware and software.
• An IP address represents an Internet Protocol address. A unique address that
identifies the device over the network.
TCP/IP (Transmission Control Protocol/ Internet Protocol)
• The IP protocol ensures that each computer that is connected to the
Internet is having a specific serial number called the IP address.
• TCP specifies how data is exchanged over the internet and how it should
be broken into IP packets.
• It also makes sure that the packets have information about the source of
the message data, the destination of the message data, the sequence in
which the message data should be re-assembled, and checks if the
message has been sent correctly to the specific destination.
• The TCP is also known as a connection-oriented protocol.
TCP/IP Model
• The TCP/IP model is a fundamental framework for computer networking.
• It stands for Transmission Control Protocol/Internet Protocol, which are the core
protocols of the Internet.
• This model defines how data is transmitted over networks, ensuring reliable
communication between devices.
• It consists of four layers: the Link Layer, the Internet Layer, the Transport Layer,
and the Application Layer.
• Each layer has specific functions that help manage different aspects of network
communication, making it essential for understanding and working with modern
networks.
• The send data in reliable and accurate manner, so that the receiver will receive
the same information which is sent by the sender.
• To ensure that, each message reaches its final destination accurately, the TCP/IP
model divides its data into packets and combines them at the other end, which
helps in maintaining the accuracy of the data while transferring from one end to
another end.
Difference Between TCP and IP
Feature TCP (Transmission Control Protocol) IP (Internet Protocol)
Ensures reliable, ordered, and error-checked delivery of Provides addressing and routing of packets across
Purpose
data between applications. networks.
Manages data transmission between devices, ensuring Routes packets of data from the source to the destination
Function
data integrity and order. based on IP addresses.
Reliability Provides reliable data transfer Does not guarantee delivery, reliability, or order.
Transmission
Yes, acknowledges receipt of data packets. No
Acknowledgment
Difference between TCP/IP and OSI Model
TCP/IP OSI
TCP refers to Transmission Control Protocol. OSI refers to Open Systems Interconnection.
The Transport layer in TCP/IP does not provide In the OSI model, the transport layer provides
assurance delivery of packets. assurance delivery of packets.
• FTP or File Transfer Protocol is said to be one of the earliest and also the most common
forms of transferring files on the internet.
• Located in the application layer of the OSI model, FTP is a basic system that helps in
transferring files between a client and a server.
• It is what makes the FTP unique that the system provides a reliable and efficient means of
transferring files from one system to another even if they have different file structures and
operating systems.
• Contrary to other protocols such as http that cover hypertexts and web resources in
general, ftp is dedicated to the management and the transfer of text, binary, or image files.
FTP is useful for a variety of purposes, including:
• Large file transfers: FTP can transfer hundreds of gigabytes of data at once.
• Multiple file transfers: FTP allows users to select multiple files and send them all at once.
• Backup: FTP can be used to back up data from one location to a secured backup server.
• Replication: FTP can be used to duplicate data from one system to another.
• Access and data loading: FTP can be used to access shared web hosting and cloud
services.
• Remote File Management: Files on a remote server can be uploaded, downloaded, deleted,
renamed, and copied according to the users’ choices.
• Automating File Transfers: FTP is a great protocol for the execution of file transfers on
predefined scripts and employments.
• Accessing Public Files: Anonymous FTP means that everybody irrespective of the identity
is allowed to download some files with no permissions needed.
How Does FTP Work?
• FTP is a client server protocol that has two
communication channel, command channel for
conversation control and data channel for file
content.
Emails can also include features such as cc (carbon copy) and bcc (blind
carbon copy) to send copies of the message to multiple recipients, and reply,
reply all, and forward options to manage the conversation.
Components of E-Mail System
The basic components of an email system are : User Agent (UA), Message
Transfer Agent (MTA), Mail Box, and Spool file.
• When we visited any website over the internet our web browser stores information
about us in small files called cookies.
• Cookies are designed to remember stateful information about our browsing history.
• Some more cookies are used to remember about us like our interests, our browsing
patterns, etc. Websites show us ads based on our interests using cookies.
Some Popular Web Browsers
1.Google Chrome:
Developed by Google, Chrome is one of the most widely-used web browsers in the world, known for its speed and
simplicity.
2. Mozilla Firefox:
Developed by the Mozilla Foundation, Firefox is an open-source browser that is known for its privacy features and
customization options.
3. Apple Safari:
Developed by Apple, Safari is the default browser on Mac and iOS devices and is known for its speed and integration with
other Apple products.
4. Microsoft Edge:
Developed by Microsoft, Edge is the default browser on Windows 10 and is known for its integration with other Microsoft
products and services.
5. Tor Browser:
Developed by The Tor Project, Tor Browser is a web browser that is designed for anonymous web browsing and is based on
Mozilla Firefox.
6. Opera:
Developed by Opera Software, Opera is a web browser that is known for its speed and built-in VPN feature.
7. Brave:
Developed by Brave Software, Brave is a web browser that is focused on privacy and security and blocks third-party ads and
trackers by default.