THE-WORLD-WIDE-WEB
THE-WORLD-WIDE-WEB
• some programs (games, streaming media programs) use simpler UDP protocol
instead of TCP
The World Wide Web (WWW) is a system of interlinked hypertext documents and
multimedia resources accessed via the Internet. It was invented by Tim Berners-Lee in
1989 and revolutionized the way information is shared and accessed globally. The WWW
operates on a client-server model, uses a unique addressing system (URLs and DNS), relies
on specific protocols like HTTP, and utilizes various programming languages for content
creation and interaction.
A. Clients and Servers
• Client:
o A client is a device (e.g., computer, smartphone) or software (e.g., web
browser) that sends requests to a web server to access resources or data
on the web.
o Examples of client software include web browsers like Google Chrome,
Mozilla Firefox, Safari, Opera, and Microsoft Edge.
o The client displays the content after receiving it from the server, allowing
the user to interact with the web page.
• Server:
o A server is a powerful computer or program that hosts websites and stores
their data, such as web pages, images, videos, and applications.
o Servers listen to client’s requests and respond by sending the requested
resources.
o Examples of web servers include Apache, Nginx, and Microsoft IIS.
• Client-Server Interaction:
o When you type a URL in a web browser, the browser (client) sends a
request to the server hosting the website.
o The server processes the request and sends back the content, such as an
HTML page, which the browser renders for the user.
200 OK
complete list
▪
• HTTP vs. HTTPS:
o HTTPS (Hypertext Transfer Protocol Secure) is a secure version of HTTP
that encrypts data between the client and server using SSL/TLS.
o HTTPS ensures data confidentiality, integrity, and authentication, making
it essential for secure transactions like online banking and shopping.
o
MIME-type
file extension
text/html .html
text/plain .txt
image/gif .gif
image/jpeg .jpg
video/quicktime .mov
application/octet-stream .exe
2. Styling Languages:
o CSS (Cascading Style Sheets):
▪ Defines the presentation and layout of web pages, including colors,
fonts, spacing, and responsiveness.
▪ Example:
css
Copy code
h1 {
color: blue;
font-size: 24px;
}
3. Programming Languages:
o JavaScript:
▪ A scripting language that adds interactivity and dynamic behavior to
web pages (e.g., form validation, animations, interactive maps).
▪ Example:
javascript
Copy code
document.getElementById("btn").onclick = function() {
alert("Button clicked!");
};
o Python:
▪ Often used for server-side development (e.g., web frameworks like
Django and Flask).
o PHP:
▪ A server-side scripting language for creating dynamic web pages
and handling backend tasks like database operations.
5. Framework-Specific Languages:
o Frameworks like React (JavaScript), Angular (TypeScript), and Ruby on
Rails (Ruby) are used for building advanced and scalable web applications.
The World Wide Web is a sophisticated ecosystem where clients and servers communicate
using protocols like HTTP, resources are located using URLs and DNS, and content is created
using languages like HTML, CSS, and JavaScript. Understanding these concepts is crucial for
effectively navigating, using, and building on the web.