
CSS Quiz: Dropdowns, Animations, Layout, Flexbox

Quiz
•
Computers
•
12th Grade
•
Hard
SRIDEVI T
Used 1+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
CSS Visibility and Opacity Concepts

Quiz
•
9th - 12th Grade
20 questions
Frontend - Examen Teórico HTML CSS

Quiz
•
12th Grade
11 questions
CSS 01

Quiz
•
8th - 12th Grade
10 questions
Photopea

Quiz
•
10th - 12th Grade
15 questions
spandana

Quiz
•
12th Grade
20 questions
HTML CSS

Quiz
•
12th Grade
11 questions
Cascading Style Sheets

Quiz
•
8th - 12th Grade
19 questions
Evaluación de HTML5 y CSS

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade