
Web Development Quiz
Authored by Tyrone Parreño
Information Technology (IT)
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'type' attribute in an HTML input element specify?
The type of input (text, password, email, etc.)
The style of the input field
The maximum length of the input
The default value of the input
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS unit is relative to the viewport width?
px
em
vw
cm
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'display: flex;' property do in CSS?
Hides an element
Makes an element inline
Sets a fixed width
Enables Flexbox for flexible layouts
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which HTML element is used to create a dropdown list?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'required' attribute in an HTML form input?
To disable the input field
To set a default value
To specify the input type
To make the input field mandatory before submission
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which JavaScript statement is used to define a function?
All of the above
function myFunction() {}
let myFunction = () => {}
const myFunction = function() {}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'innerHTML' property do in JavaScript?
Retrieves or sets HTML content inside an element
Retrieves or sets only visible text
Retrieves or sets all text including hidden text
None of the above
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?