Search Header Logo

HTML and CSS Quiz

Authored by Zachary Wilson

Business

9th Grade

Used 1+ 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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is NOT a benefit of using multiple HTML files for a website?

Improved organization

Easier maintenance

Faster loading times for all pages initially

Better code reusability

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which HTML element is used to embed another HTML document within the current page?

<div>

<embed>

<a>

<iframe>

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which HTML element is a generic container used for grouping and styling content?

<div>

<body>

<iframe>

<img>

4.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Semantic tags help to give meaning to our code. They help other developers and the browser understand our content and code. Which of the following are examples of semantic HTML tags? Select ALL that apply.

<header>

<div>

<main>

<footer>

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which attribute of the <iframe> tag specifies the URL of the embedded document?

src

href

url

source

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which CSS selector targets all elements that are direct children of a element?

div p

div > p

div + p

div ~ p

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which CSS selector targets the first element that immediately follows an element?

h2 p

h2 > p

h2 + p

h2 ~ p

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?