Divis

Divis

11th Grade

8 Qs

quiz-placeholder

Similar activities

HTML e CSS

HTML e CSS

12th Grade

10 Qs

HTML Final Exam Review 2

HTML Final Exam Review 2

University

10 Qs

Basic HTML Tags I

Basic HTML Tags I

9th - 12th Grade

11 Qs

CSS Rules Quiz-unit 4 CodeHS

CSS Rules Quiz-unit 4 CodeHS

7th Grade - University

7 Qs

T3. C1-C2 Quizizz Post-Test

T3. C1-C2 Quizizz Post-Test

7th Grade - University

10 Qs

CSF U3 Networks p1

CSF U3 Networks p1

9th - 12th Grade

12 Qs

Lecture 3

Lecture 3

University

10 Qs

HTML Basics

HTML Basics

University

11 Qs

Divis

Divis

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Kangni Amouzougan

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following tags is best used for grouping elements for layout and styling?

<p>

<span>

<table>

<div>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would happen if you put multiple elements inside a single styled <div>?

Only the first element gets the style

They all get styled through the div

The browser crashes

The div disappears

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default display behavior of a <div> tag?

Inline

Flex

Grid

Block

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a CSS rule for a class called “highlight”?

highlight {}

.highlight {}

<highlight> {}

#highlight {}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want to apply the same CSS style to a group of paragraphs and images, what should you do?

Place them inside one <div>

Use the <table> tag

Add <br> tags

Make them all <h1>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is one benefit of using a <div> in your HTML?

It makes text italic

It loads pages faster

It allows for styling groups of elements easily

It creates a table

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is NOT a purpose of using a <div> tag?

Organizing content

Styling multiple elements at once

Adding animations automatically

Structuring a layout

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the <div> tag do in HTML?

Adds bold text

Creates a list

Groups elements together for styling

Displays an image