Search Header Logo

HTML and CSS Quiz

Authored by Шики Гранбелл

Other

University

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

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does HTML stand for?

Hyperlink and Text Markup Language

High Text Markup Language

Hyper Text Markup Language

Hyper Text Markup List

Answer explanation

HTML stands for Hyper Text Markup Language, which is the standard language for creating web pages. The other options are incorrect as they misrepresent the acronym.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which version of HTML is currently used?

HTML 6

HTML 3

HTML 5

HTML 4

Answer explanation

HTML 5 is the latest version of HTML, widely used for structuring web content. It introduced new elements and attributes, improving support for multimedia and mobile devices, making it the correct choice.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of CSS?

To create HTML documents

To store data in databases

To describe the appearance of HTML documents

To manage server-side scripts

Answer explanation

The purpose of CSS (Cascading Style Sheets) is to describe the appearance of HTML documents, including layout, colors, and fonts, making it the correct choice among the options provided.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid HTML comment?

// This is a comment

/* This is a comment */

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the tag define?

The footer of the document

The title of the document

The main content of the document

The header of the document

Answer explanation

The tag defines the main content of the document, which includes all the visible elements like text, images, and links. It is essential for structuring the primary information that users interact with.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which attribute is used to set the background color in HTML?

background-color

background

bgcolor

color

Answer explanation

The correct attribute to set the background color in HTML is 'bgcolor'. While 'background-color' is used in CSS, 'bgcolor' is the traditional HTML attribute for this purpose.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for a hyperlink in HTML?

Link

Link

Answer explanation