CSS Styling Quiz

CSS Styling Quiz

9th Grade

14 Qs

quiz-placeholder

Similar activities

Cascading Style Sheets

Cascading Style Sheets

8th - 12th Grade

11 Qs

HTML CSS 1

HTML CSS 1

9th - 12th Grade

10 Qs

HTML/ CSS

HTML/ CSS

7th - 11th Grade

15 Qs

CSS

CSS

7th - 9th Grade

14 Qs

Inline Elements

Inline Elements

9th - 12th Grade

15 Qs

CSF U3 Networks p1

CSF U3 Networks p1

9th - 12th Grade

12 Qs

CSD-Q9

CSD-Q9

9th Grade - University

11 Qs

Web Design Advanced HTML CSS

Web Design Advanced HTML CSS

9th - 12th Grade

18 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?