
Cybertalk'24
Authored by Krishna Krishna
Computers
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the <!DOCTYPE html> declaration do in an HTML document?
It specifies the HTML version.
It defines the character set.
It links to external styles.
It creates a new HTML element.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you create a comment in HTML?
/* This is a comment */
// This is a comment
<!-- This is a comment -->
# This is a comment
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS property is used to change the font of an element?
font-style
font-family
text-style
font-weight
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the z-index property do in CSS?
It adjusts the transparency of an element.
It determines the stacking order of elements.
It defines the size of an element.
It changes the display property.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Bootstrap, which class would you use to create a responsive grid layout?
.container-fluid
.row
.col
All of the above
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How do you make a Bootstrap modal appear?
By adding data-toggle="modal" to a button.
By adding class="modal-open" to the body.
By calling $('.modal').modal('show') in JavaScript.
By adding class="model-show" to the body.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the event.preventDefault() method?
It prevents the default action of an event.
It stops event propagation.
It prevents the execution of a function.
It creates a new event.
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?