Search Header Logo

HTML and CSS Basics Quiz

Authored by Romana Azam

Computers

6th - 8th Grade

Used 2+ times

HTML and CSS Basics Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of HTML?

To style a webpage

To create the structure of a webpage

To add interactivity to a webpage

To store data on a webpage

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tag is used to create a hyperlink in HTML?

<anchor>

<link>

<a href="www.example.com">Click here</a>

<refer>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a list of items in HTML?

  • Use <ol> or <ul> and <li> tags

  1. <list> tag

  • <order> tag

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the CSS property color change?

The background color of an element

The color of the text in an element

The color of the border of an element

The color of the links in a webpage

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to add a comment in CSS?

// This is a comment

/* This is a comment */

# This is a comment

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you change the font size of a paragraph using CSS?

font-size: 14px;

text-size: 14px;

font-style: 14px;

text-font: 14px;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tag is used to insert an image in an HTML page?

<image>

<picture>

<img>

<pic>

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?