Search Header Logo

HTML Tags Practice

Authored by Arti Aggarwal

Other

12th Grade

Used 2+ times

HTML Tags Practice
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Add a link to a bookmark, on the same page, with the id="mytext".

<a href="mytext#">Jump to new text</a>

<a src="mytext">Jump to new text</a>

<a href="#mytext">Jump to new text</a>

<a ="#mytext">Jump to new text</a>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use the HTML image attributes to set the size of the image to 250 pixels wide and 400 pixels tall.

<img src="scream.png" wide="250" tall="400">

<img src="scream.png" width="250" height="400">

<img src="scream.png" height="250" width="400">

<img src="scream.png" tall="250" width="400">

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use the correct HTML to make the text below into a link to "default.html".

<a href="default.html">Visit our HTML tutorial.</a>

<a herf="default.html">Visit our HTML tutorial.</a>

<a src="default.html">Visit our HTML tutorial.</a>

<a href="default.html>Visit our HTML tutorial./a>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Opens the linked document in a new window or tab

<a href="https://www.w3schools.com" target="_self">Visit W3Schools</a>

<a href="https://www.w3schools.com">Visit W3Schools</a>

<a href="https://www.w3schools.com" target="_top">Visit W3Schools</a>

<a href="https://www.w3schools.com" target="_blank">Visit W3Schools</a>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is <div> a container tag?

Yes

No

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use the correct HTML to make the image become a link to "default.html".


<a src="default.html"><img src="smiley.gif"></a>


<a href="default.html"><img src="smiley.gif"></a>


<a href="default.html"><img src="smiley.gif">


<p href="default.html"><img src="smiley.gif"></a>

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this?

Rome <div>Capital city of Italy.</div> 3 million inhabitants.


Rome

Capital city of Italy.

3 million inhabitants

Rome Capital city of Italy. 3 million inhabitants

Rome

Capital city of Italy. 3 million inhabitants

Rome Capital city of Italy.

3 million inhabitants

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?