CSS Quiz: Dropdowns, Animations, Layout, Flexbox

CSS Quiz: Dropdowns, Animations, Layout, Flexbox

12th Grade

15 Qs

quiz-placeholder

Similar activities

HTML and CSS Tag

HTML and CSS Tag

9th - 12th Grade

15 Qs

CodeHS Advance HTML and CSS

CodeHS Advance HTML and CSS

9th - 12th Grade

15 Qs

HTML/CSS

HTML/CSS

9th - 12th Grade

15 Qs

HTML and CSS

HTML and CSS

9th - 12th Grade

15 Qs

BÀI 17. CÁC MỨC ƯU TIÊN CỦA BỘ CHỌN

BÀI 17. CÁC MỨC ƯU TIÊN CỦA BỘ CHỌN

12th Grade

10 Qs

CSS

CSS

12th Grade

20 Qs

Selectores CSS

Selectores CSS

12th Grade

10 Qs

CodeHS Advanced HTML/CSS 2022 Quiz Review

CodeHS Advanced HTML/CSS 2022 Quiz Review

9th - 12th Grade

15 Qs

CSS Quiz: Dropdowns, Animations, Layout, Flexbox

CSS Quiz: Dropdowns, Animations, Layout, Flexbox

Assessment

Quiz

Computers

12th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?