MCQs on HTML Tags and Elements

MCQs on HTML Tags and Elements

6th - 8th Grade

8 Qs

quiz-placeholder

Similar activities

HTML introduction

HTML introduction

8th - 9th Grade

10 Qs

Jezik HTML

Jezik HTML

7th Grade

11 Qs

HTML тегтері

HTML тегтері

1st Grade - University

13 Qs

The Structure of a Website

The Structure of a Website

7th Grade

12 Qs

HTML

HTML

8th Grade

10 Qs

HTML Introduction

HTML Introduction

3rd Grade - Professional Development

10 Qs

WD 1 - Basic HTML

WD 1 - Basic HTML

KG - University

10 Qs

Unit 1:Web page ELement-Grade VII Test 2

Unit 1:Web page ELement-Grade VII Test 2

6th - 8th Grade

10 Qs

MCQs on HTML Tags and Elements

MCQs on HTML Tags and Elements

Assessment

Quiz

Computers

6th - 8th Grade

Easy

Created by

shumaila shereen

Used 1+ times

FREE Resource

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct order of importance for headline tags in HTML, from largest to smallest?

<h6>, <h5>, <h4>, <h3>, <h2>, <h1>

<h1>, <h2>, <h3>, <h4>, <h5>, <h6>

<h6>, <h1>, <h5>, <h4>, <h2>, <h3>

<h4>, <h2>, <h3>, <h1>, <h6>, <h5>