
CSS Quiz: Dropdowns, Animations, Layout, Flexbox
Authored by SRIDEVI T
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which HTML tag was traditionally used to create scrolling text or images in a web page?
<slide>
<scroll>
<marquee>
<move>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What CSS property is used to create a dropdown menu?
visibility: hidden;
display: dropdown;
position: absolute;
dropdown: true;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the concept of CSS animations and provide an example.
CSS animations are used to create movement and change in web pages. They allow elements to gradually change from one style to another. An example of a CSS animation is animating the color change of a button when hovered over.
CSS animations are only used for text formatting.
CSS animations are used to create 3D effects on web pages.
An example of a CSS animation is changing the font size of a paragraph.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you center an element horizontally using flexbox?
justify-content: center;
margin: auto;
text-align: center;
item-order: center;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does flexbox help in creating responsive web designs?
Flexbox provides a way to layout items in a container, making it easier to create responsive web designs.
Flexbox only works for vertical layout and not responsive design
Flexbox has no impact on creating responsive web designs
Flexbox helps in creating fixed-width web designs
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the CSS property used to add padding to an element?
padding
margin
color
border
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the difference between padding and margin in CSS.
Padding and margin are the same thing in CSS.
Padding is used for horizontal spacing, while margin is used for vertical spacing.
Padding is the space outside the border of an element, while margin is the space inside the border of an element.
Padding is the space inside the border of an element, while margin is the space outside the border of an element.
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
1.2.4. Types of Programming Language
Quiz
•
12th Grade
20 questions
HTML
Quiz
•
10th - 12th Grade
10 questions
Women in Tech by Sisters of Code
Quiz
•
9th - 12th Grade
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
10 questions
Software Design and Development Quick Quiz 2
Quiz
•
11th - 12th Grade
17 questions
Aplicaciones Web
Quiz
•
12th Grade
15 questions
Bitmapped and Vector Graphics
Quiz
•
10th - 12th Grade
10 questions
KNTT 12 BÀI 13
Quiz
•
12th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade