Search Header Logo

CSS and HTML Quiz

Authored by Bemmygail undefined

Computers

University

Used 5+ times

CSS and HTML Quiz
AI

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

45 sec • 1 pt

What does CSS stand for?

Computer Style Sheets

Cascading Style Sheets

Custom Style Syntax

Creative Style System

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which HTML element is semantic for page navigation?

<div>

<header>

<nav>

<menu>

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the correct syntax for targeting elements with a class highlight in CSS?

#highlight { }

.highlight { }

highlight { }

*highlight { }

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which type of CSS is written inside the section using tags?

Inline CSS

Internal CSS

External CSS

Embedded CSS

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which CSS property is used to change the text color?

background-color

font-color

color

text-color

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does display: flex; do?

Creates a grid layout

Makes children elements flexible horizontally or vertically

Adds hover animation

Aligns text in a paragraph

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which pseudo-class applies styles when the mouse hovers over an element?

:active

:hover

:focus

:link

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers