Divis

Divis

11th Grade

8 Qs

quiz-placeholder

Similar activities

HTML Review

HTML Review

5th - 12th Grade

12 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

HTML & CSS

HTML & CSS

University

10 Qs

Web Design: Pop Quiz

Web Design: Pop Quiz

10th - 12th Grade

10 Qs

Quiz Web Programming

Quiz Web Programming

10th - 12th Grade

10 Qs

CSS Selector Practice

CSS Selector Practice

10th - 12th Grade

13 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