Web 2
Web 2
XAVIER’S COLLEGE
2
I. WEB BROWSER AND WEB PAGE
In simple words,
A web browser is a software we use on our mobile phone or any other electronic gadget to
access information and view content on the internet. It lets us search for information, watch
videos, check social media, shop online, and more. Some popular browsers include Google
Chrome, Safari, and Firefox.
A web page is a document on the internet that we can view using a web browser. A website
usually consists of multiple web pages connected by a shared domain name. So, the term
"web page" is like a page in a book, with many pages grouped together to form a website.
II. WEBSITE
A website is a set of pages on the internet that are connected together and can be accessed using a
web browser. It usually has information, pictures, videos, or other content and can be about
anything, like a business, a hobby, or entertainment. You visit websites by typing in their address,
called a URL, into the browser.
IV. URL
A URL (Uniform Resource Locator) is the address that identifies a specific resource on
the internet. It’s used by browsers to find and access various online content, such as web
pages, images, and other files. It is one of the key mechanisms used by browsers to retrieve
published resources, such as HTML pages, CSS documents, images, and so on.
1
V. SCRIPTING LANGUAGE AND PROGRAMMING
LANGUAGE
Scripting Language:
1. A scripting language is used to automate tasks and control other software, typically
executed by an interpreter.
2. These languages are commonly employed in web development and simple automation
tasks, such as JavaScript and Python.
Programming Language:
1. A programming language is used to develop complex software applications, and the code
is often compiled into machine-readable format for direct execution.
2. These languages are ideal for creating full software systems like video games, mobile apps,
and operating systems, such as C and Java.
1. Server-side scripting languages are used to write code that runs on the web server, handling
tasks like managing databases or processing user requests before sending the response to
the user's browser.
2. Examples of server-side scripting languages include PHP, Python, and Node.js, which help
build dynamic websites and web applications.
1. Client-side scripting languages are used to write code that runs directly in the user's web
browser, allowing for interactive features like form validation, animations, and dynamic
content updates.
2. JavaScript is the most common client-side scripting language, and it helps create
responsive and interactive web pages.
2
VII. PHP AND ITS FEATURES
PHP (Hypertext Preprocessor) is a server-side scripting language used mainly for web
development. It allows developers to create dynamic and interactive websites by generating HTML
content that is served to users in real-time. PHP can be embedded into HTML, which makes it easy
to add functionality to web pages.
Features of PHP:
1. Server-Side Processing: PHP runs on the server, generating content before it reaches the
user’s browser, making websites dynamic.
2. Easy to Learn: PHP is simple to understand, especially for beginners, with a syntax similar
to other popular languages.
3. Free and Open-Source: PHP is free to use, and a large community of developers
continuously improves it.