Search Header Logo

CSS Styling Quiz

Authored by Diana Mousa

Computers

9th Grade

Used 1+ times

CSS Styling Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?