Search Header Logo

HTML and CSS Quiz

Authored by Tak Cheung

Computers

9th Grade

Used 3+ times

HTML and CSS Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What font type and size does

Introduction

generate by default?

A specific font type and size set by the user

Some default from the browser

The largest font size available

A font size relative to the surrounding text

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What was the purpose of adding style sheets to HTML?

To increase the loading time of web pages

To add more attributes to HTML elements

To specify style to use rather than browser default

To make HTML documents larger

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What was the method used in early HTML to override default styles?

Using external CSS files

Overriding defaults with attributes in HTML tags

Implementing JavaScript for dynamic styling

There was no method to override default styles

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the key concept discussed in the lecture notes?

Combining style with content

Separating style from content

Using inline styles in HTML

Writing content in CSS files

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where is content typically defined when following the key concept mentioned in the lecture notes?

In CSS files

In HTML files

In JavaScript files

In PHP files

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where is formatting information typically stored according to the lecture notes?

In HTML files

In CSS files

In JavaScript files

In PHP files

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What attribute is used to link HTML elements to CSS styles?

id

class

style

href

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?