Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Week 2 html

Total questions: 13

Worksheet time: 5mins

Name
Class
Date
1.

Which of the following tag is used for inserting the largest heading in HTML?

a)

<h3>

b)

<h1>

c)

<h5>

d)

<h6>

2.

Which character is used to represent the closing of a tag in HTML?

a)

<\ >

b)

<! >

c)

</ >

d)

<. >

3.

How to create a hyperlink in HTML?

a)

<a href = "www.javatpoint.com"> javaTpoint.com </a>

b)

<a url = "www.javatpoint.com" javaTpoint.com /a>

c)

<a link = "www.javatpoint.com"> javaTpoint.com </a>

d)

<a> www.javatpoint.com <javaTpoint.com /a>

4.

How to insert an image in HTML?

a)

<img href = "jtp.png" />

b)

<img url = "jtp.png" />

c)

<img link = "jtp.png" />

d)

<img src = "jtp.png" />

5.

Which of the following is the paragraph tag in HTML?

a)

<p>

b)

<b>

c)

<pre>

d)

None of the above

6.

Which tag is used to create a line break in HTML?

a)

<break>

b)

<line>

c)

<lb>

d)

<br>

7.

What is the correct tag for creating an unordered list in HTML?

a)

<list>

b)

<ol>

c)

<item>

d)

<ul>

8.

places text at the top of the browser window

a)

<Title>

b)

</Title>

c)

<Head>

d)

<Header>

9.

Choose the code that correct the error

</BODY><HTML>

a)

</BODY></HTML>

b)

</BODY>/HTML>

c)

BODY></HTML>

d)

</BODY>

10.
What is always the last line in an HTML webpage?
a)
<!DOCTYPE html>
b)
<html>
c)
</html>
d)
<title>
11.

What do the sub and sup elements do?

a)

They make the text larger so you can read it on a submarine or if you're. superman.

b)

They flip the text upside-down and right-side-up again.

c)

They move the text vertically, as subscript or superscript.

d)

They make the text into a subliminal message that's super-sneaky.

12.

Which example has correctly nested elements?

a)

<p></em>Hello <mark>Kelly!</mark><em></p>

b)

<p><em>Hello <mark>Kelly!</mark>‹/em></p>

c)

<p><em>Hello <mark>Kelly!</mark></p>‹/em>

d)

‹p><em>Hello <mark>Kelly!‹/em></mark>‹/p›

13.

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

a)

To define the character set of the document.

b)

To create a link to external stylesheets.

c)

To provide metadata about the HTML document.

d)

To insert images into the document.