Search Header Logo

MCQs on HTML Tags and Elements

Authored by shumaila shereen

Computers

6th - 8th Grade

Used 1+ times

MCQs on HTML Tags and Elements
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the <title> tag in HTML?

It displays the title of the webpage on the browser's tab or title bar.

It is used for creating headings on the webpage.

It defines the main body of the webpage.

It adds metadata for search engines.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax for the <title> tag in HTML?

<title>My Webpage</title>

<title="My Webpage">

<title>My Webpage

title="My Webpage"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the <h1> tag in HTML?

It defines the main heading of a webpage.

It is used for styling images on a webpage.

It inserts a horizontal line in the webpage.

It links the webpage to other websites.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTML tag is used to insert an image into a webpage?

<img>

<image>

<picture>

<src>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which attribute is used to define the source of an image in the <img> tag?

`href`

`src`

`alt`

`url`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following tags is used to define subheadings in HTML?

<h2>

<subheading>

<heading>

<sub>

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the `alt` attribute in the <img> tag specify?

The title of the image

The size of the image

A text description of the image for accessibility and when the image is unavailable

The link to the image source

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?