CSS Styling Quiz

CSS Styling Quiz

9th Grade

14 Qs

quiz-placeholder

Similar activities

2023 - Web Design - CSS Review

2023 - Web Design - CSS Review

9th - 12th Grade

15 Qs

Display, border, ul, ol, li, table, td, th, tr

Display, border, ul, ol, li, table, td, th, tr

9th Grade

11 Qs

Ciw Introduction to Cascade Style Sheets Technology

Ciw Introduction to Cascade Style Sheets Technology

8th - 12th Grade

11 Qs

Quiz 3 - 14/07/2021

Quiz 3 - 14/07/2021

1st - 10th Grade

10 Qs

CSS - Quiz 1

CSS - Quiz 1

9th Grade - University

15 Qs

ADD Unit 2 CSS Basics

ADD Unit 2 CSS Basics

9th - 12th Grade

10 Qs

HTML and CSS

HTML and CSS

9th - 10th Grade

12 Qs

CSS Basics Quiz

CSS Basics Quiz

9th Grade - University

16 Qs

CSS Styling Quiz

CSS Styling Quiz

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Diana Mousa

Used 1+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where is internal CSS written?

Inside each HTML tag

Inside the <body> tag

Inside the <style> tag within the <head>

Inside a .css file

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of inline styling?

<style> h1 {color: blue;} </style>

<link rel="stylesheet" href="style.css">

<h1 style="color: blue;">Hello</h1>

h1 {color: blue;}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main disadvantage of inline CSS?

Not supported by browsers

Difficult to reuse and maintain

Cannot style headings

Only works with tables

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS method overrides the others if all are applied to the same element?

External CSS

Inline CSS

Internal CSS

Default browser style

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Internal CSS is ideal when:

You are working on a large multi-page site

You want to test quick styles on multiple pages

You are styling one specific page

You are applying styles to all websites

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tag is used to define internal CSS?

<style>

<script>

<css>

<link>

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Inline CSS is written using which attribute?

class

id

style

font

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?