wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Web Development Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

How can you ensure proper alignment of content within a webpage?

a)

Use invisible tables or CSS grid systems

b)

Apply random padding and margins

c)

Use JavaScript exclusively

d)

Avoid alignment altogether

2.

What role does JavaScript play in creating dynamic web pages?

a)

It only provides styling to the web page

b)

It adds interactivity and dynamic behavior

c)

It ensures faster loading of CSS

d)

It creates static content only

3.

JavaScript can NOT add interactivity, like changing content when a button is clicked.

a)

True

b)

False

4.

What does it mean for a web element to be "responsive"?

a)

It changes color automatically

b)

It resizes or adapts based on screen size and resolution

c)

It sends notifications to the user

d)

It provides real-time user feedback

5.

What technique ensures that users can click on buttons to perform specific actions?

a)

Linking CSS files

b)

Adding event listeners in JavaScript

c)

Styling buttons using hover effects

d)

Including meta tags in the

6.

What is a simple way to create a dropdown menu?

a)

Use HTML and CSS to create hoverable lists

b)

Create a table in HTML

c)

Use JavaScript exclusively

d)

Avoid dropdowns for simplicity

7.

CSS is sufficient to align items on a webpage without using JavaScript.

a)

True

b)

False

8.

What does the onclick attribute in HTML do?

a)

It changes the color of an element

b)

It runs JavaScript code when an element is clicked

c)

It styles the element dynamically

d)

It aligns the element to the center of the page

9.

CSS properties like width and height are NOT essential for making elements responsive.

a)

True

b)

False

10.

Adding rounded corners to a div requires the use of the border-radius property.

a)

True

b)

False