HTML Styling DOL

HTML Styling DOL

10th Grade

5 Qs

quiz-placeholder

Similar activities

Quiz on The Development Of  The Internet

Quiz on The Development Of The Internet

10th Grade

10 Qs

Intro to HTML/CSS

Intro to HTML/CSS

10th Grade

4 Qs

POST TEST HARDWARE

POST TEST HARDWARE

10th Grade

10 Qs

Soal LKPD Pengetahuan DDPKTJKT

Soal LKPD Pengetahuan DDPKTJKT

10th Grade

5 Qs

Quiz Antivirus

Quiz Antivirus

9th Grade - University

5 Qs

Dasar Koding dan Kecerdasan Artifisial

Dasar Koding dan Kecerdasan Artifisial

10th Grade

10 Qs

Pretest Hardware X SMK

Pretest Hardware X SMK

10th Grade

10 Qs

 Веб-сайттың құрылымы

Веб-сайттың құрылымы

9th - 12th Grade

6 Qs

HTML Styling DOL

HTML Styling DOL

Assessment

Quiz

Information Technology (IT)

10th Grade

Hard

Created by

Moyin Yusuf

Used 3+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the best practice for styling a site?

Inline styles on each element

A single external CSS file linked with

Repeating a block on every page

Using the style attribute and internal CSS together

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS selector targets all elements inside a with class card?

p.card { … }

.card p { … }

div p.card { … }

#card p { … }

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS selector would select only direct child elements of a container with class box?

.box > * { … }

.box * { … }

.box + * { … }

* .box { … }

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to apply the same CSS style to multiple classes?

.class1, .class2 { … }

.class1 .class2 { … }

.class1.class2 { … }

#class1, #class2 { … }

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT an advantage of using external CSS files?

Styles can be reused across multiple pages

Reduces HTML file size

Allows for easier site-wide updates

Styles are applied faster than inline styles