NEW
Font size
WorksheetsWeb Development Quiz
Total questions: 10
Worksheet time: 5mins
How can you ensure proper alignment of content within a webpage?
Use invisible tables or CSS grid systems
Apply random padding and margins
Use JavaScript exclusively
Avoid alignment altogether
What role does JavaScript play in creating dynamic web pages?
It only provides styling to the web page
It adds interactivity and dynamic behavior
It ensures faster loading of CSS
It creates static content only
JavaScript can NOT add interactivity, like changing content when a button is clicked.
True
False
What does it mean for a web element to be "responsive"?
It changes color automatically
It resizes or adapts based on screen size and resolution
It sends notifications to the user
It provides real-time user feedback
What technique ensures that users can click on buttons to perform specific actions?
Linking CSS files
Adding event listeners in JavaScript
Styling buttons using hover effects
Including meta tags in the
What is a simple way to create a dropdown menu?
Use HTML and CSS to create hoverable lists
Create a table in HTML
Use JavaScript exclusively
Avoid dropdowns for simplicity
CSS is sufficient to align items on a webpage without using JavaScript.
True
False
What does the onclick attribute in HTML do?
It changes the color of an element
It runs JavaScript code when an element is clicked
It styles the element dynamically
It aligns the element to the center of the page
CSS properties like width and height are NOT essential for making elements responsive.
True
False
Adding rounded corners to a div requires the use of the border-radius property.
True
False
