QUESTION BANK ( Web Development )
Fill in the Blanks
A __________ is a collection of related web pages that are linked together and accessible via
the Internet.
A __________ website displays content that changes dynamically, often based on user input
or database data.
The __________ part of a web application handles database operations and server logic.
In the __________ model, the client sends a request and the server sends a response.
Every HTML document starts with the declaration __________.
The __________ attribute in a table cell is used to merge cells horizontally.
In CSS, a __________ selector targets all elements of a specific HTML tag, such as `p` or `h1`.
The __________ layout model in CSS allows flexible alignment of items within a container.
__________ is a scripting language used to make web pages interactive and dynamic.
The __________ event is triggered when a user clicks a button or element.
The property __________ is used to change or insert text/content inside an HTML element
dynamically.
The __________ operator is used to compare two values for equality in JavaScript.
The part of a web application that users directly interact with is called the __________.
A __________ website displays fixed content and does not change unless manually updated.
A __________ is a software application used to access and view websites.
__________ is used to style and format the appearance of a webpage.
The __________ tag in HTML defines the main content that is unique to a page (semantic
element).
The __________ tag is used to create a clickable button inside a form.
__________ CSS is written inside the HTML tag using the `style` attribute.
The __________ tag in HTML is used to embed a video file into a webpage.
In JavaScript, the keyword __________ is used to declare a variable.
To access an HTML element by its ID, we use the method document.__________.
In form validation, JavaScript checks if the __________ entered by the user meets the
required conditions.
In JavaScript, the __________ statement is used to display messages in a popup alert box.
__________ is used to define the structure and content of a webpage.
A __________ is a computer or software that hosts websites and delivers web pages to
clients.
A __________ is a collection of related web pages that are linked together and accessible via
the Internet.
The part of a web application that users directly interact with is called the __________.
An __________ list uses numbers to display list items in a specific order.
Every HTML document starts with the declaration __________.
The CSS box model consists of four parts: content, padding, border, and __________.
The __________ tag in HTML is used to embed a video file into a webpage.
A __________ is a block of reusable code that performs a specific task in JavaScript.
Websites can be made live on the Internet using __________ platforms like GitHub Pages or
Netlify.
__________ is a scripting language used to make web pages interactive and dynamic.
In form validation, JavaScript checks if the __________ entered by the user meets the
required conditions.
Answer the Following
What is a Website? Explain its importance in today’s digital world with examples.
Explain the basics of a web browser. Give any 3 examples of web browsers.
Explain the role of HTML in web development. Write a simple HTML code to display:
“Welcome to My Website.”
Explain the Client-Server Model with a neat diagram.
List any three semantic HTML tags and write one line about each.
Explain the difference between `<th>`, `<tr>`, and `<td>` in HTML tables.
Write a simple CSS rule to make all paragraphs red and centered.
Analyze the effect of margin and padding on a webpage element using the box model
concept.
What is JavaScript, and how is it used in web development?
What is an event in JavaScript? Explain with an example of `onclick` or `onmouseover`.
Write a simple JavaScript function that adds two numbers and displays the result.
Write a short note on Introduction to web hosting platforms.
What are Static and Dynamic Websites?
Differentiate between Frontend and Backend development with suitable examples.
Write a small HTML and CSS code snippet to create a blue-colored heading on a webpage.
Explain the role of HTML in web development.
What are the different types of CSS? Give one example of each.
Explain the box model in CSS with a neat labeled diagram.
Write a simple CSS rule to make all paragraphs aquamarine and centered.
Identify and correct the error in the following code:
```html
<video controls autoplay="true">
<source src="movie.mp3" type="video/mp4">
</video>
```
Define a variable in JavaScript. Give one example.
What are operators in JavaScript? Write examples of any two operators.
Explain the role of `getElementById` in DOM manipulation with a simple example.
Explain the basic process of hosting a website on an online platform like GitHub Pages.
List any two web browsers and two web servers commonly used today.
Write the basic structure of an HTML document (with `<html>`, `<head>`, `<body>`).
Draw a simple diagram showing the communication between client, server, and database.
Compare frontend development and backend development — list one key difference.
Define HTML and explain the purpose of semantic elements.
Write an HTML code to create a list of your three favorite programming languages using an
unordered list.
Compare inline CSS and external CSS — mention one advantage and one disadvantage of
each.
Write HTML code to insert an audio file that plays automatically when the page loads.
Write the syntax of a function in JavaScript.
What are operators in JavaScript? Write examples of any two operators.
Differentiate between `var`, `let`, and `const` with one example each.
Describe what happens when you use `innerHTML` to modify a webpage element.