wayground logo

Lembar Kerja Gratis yang Dapat Dicetak

Ukuran huruf

S
M
L
XL
Lembar kerja

Understanding HTML Elements Quiz

Total soal: 50

Worksheet time: 25mins

Nama
Kelas
Tanggal
1.

What is this symbol(s) called: </>

a)

A closing tag

b)

A square

c)

An opening tag

d)

An arrow

2.
Name an element which doesn't have a closing tag.
a)
<img>
b)
<head>
c)
<body>
d)
<p>
3.

Which of the following codes would create a horizontal line

a)

<br>

b)

<h1></h1>

c)

<hr>

d)

<p>

4.

<th></th> is the code for .....

a)

a table row

b)

a table column

c)

a table header

d)

Thanos

5.

Choose the correct HTML element for the largest heading:

a)

<head>

b)

<h1>

c)

<heading>

d)

<h6>

6.

What is the correct HTML element for inserting a line break?

a)

<lb>

b)

<BREAK>

c)

<br>

d)

<break>

7.
The following tag will show a bulleted list
a)
<ul>
b)
<ol>
c)
<li>
d)
<list>
8.

Which list tag would you use for an ordered list

a)

<h1></h1>

b)

<ol></ol>

c)

<ul></ul>

d)

<a></a>

9.
How can you make a numbered list?
a)
<list>
b)
<ol>
c)
<dl>
d)
<ul>
10.

How can you make a list that has no particular order?

a)

<ol> </ol>

b)

<ul> </ul>

c)

<ol> <li>

d)

<li> </ul

11.

Type in the attribute you would use to add the lines inside and around a table with a width of 3.

(a)  

12.

used to display information in rows and column

a)

semantic element

b)

HTML tag

c)

Table

d)

Text Alignment

13.

A ____ is a vertical line of information in a table.

a)

Column

b)

Grid

14.
What is the correct HTML for creating a hyperlink?
a)
<a>http://www.w3schools.com</a>
b)
<a name="http://www.w3schools.com">W3Schools.com</a>
c)
<a href="http://www.w3schools.com">W3Schools</a>
d)
<a url="http://www.w3schools.com">W3Schools.com</a>
15.

The Tags "<a href= </a> tells the code to do what?

a)

Change the color

b)

Add a link

c)

Change the size of font

d)

Change the font

16.

This should be at the top of every web page we write.

a)

<head>

b)

<title>

c)

<!DOCTYPE html>

d)

<html>

17.

This is where content that appears on the screen of a web page goes.

a)

<head>

b)

<title>

c)

<p>

d)

<body>

18.

What tag is used to separate text into paragraphs.

a)

<body>

b)

<a>

c)

<p>

d)

<b>

19.

Which tag is used to insert an image?

a)

<pic>

b)

<img>

c)

<a>

d)

<src>

20.

Which attribute is used in conjunction with the <a> tag for defining the location of a hyperlink?

a)

src

b)

href

c)

style

d)

h1

21.

Which attribute is used in conjunction with the <img> tag for defining the location of an image?

a)

src

b)

href

c)

style

d)

h1

22.

Which of the following header tags would produce the largest text?

a)

<h2>

b)

<h4>

c)

<h6>

d)

<h9000>

23.

Which tag is used to create a bulleted list?

a)

<ol>

b)

<li>

c)

<ul>

d)

<bl>

24.

Which tag is required for every item that is included in any kind of list?

a)

<b>

b)

<a>

c)

<li>

d)

<td>

25.

Which tag is required for every item that is included in a table?

a)

<b>

b)

<a>

c)

<li>

d)

<td>

26.

Which tag is used to start a table?

a)

<table>

b)

<tb>

c)

<t>

d)

<td>

27.

Use this tag to start a new horizontal row of items in your table.

a)

<table>

b)

<tr>

c)

<td>

d)

<li>

28.

Which of the following tags does NOT have a closing tag?

a)

<a>

b)

<b>

c)

<br>

d)

<p>

29.

Why won't the following anchor tag work?

<a href=https://www.google.com/>click here</a>

a)

The attribute should be ref, not href

b)

The URL is missing quotation marks

c)

There is no anchor tag in the code

d)

The href is missing a closing tag

30.

Which code is used to begin a new line within a paragraph of text on a webpage?

a)

<em>

b)

<span>

c)
<hr>
d)
<br>
31.

Which tag could be used to apply a CSS background color to a word in a paragraph?

a)
<span>
b)
<div>
c)

<p>

d)

<h2>

32.

Which of the following tags should contain the copyright information at the bottom of a webpage?

a)
<end>
b)

<body>

c)

<footer>

d)

<html>

33.
Which of these elements are all <table> elements?
a)
<table><tr><td>
b)
<thead><body><tr>
c)
<table><head><tfoot>
d)
<table><tr><tt>
34.

Which of the following is the correct HTML syntax for inserting an image

a)

<img>apple.jpg</img>

b)

<img src="apple.jpg">

c)

<image src="apple.jpg">

d)

<img ="apple.jpg">

35.

Erin is building a website for her school project. She is using a language to structure and present content on the web. What is the name of this language that Erin is using?

a)

HyperText Markup Language

b)

HyperText Manipulation Language

c)

HyperText Modeling Language

d)

HyperText Management Language

36.

Jocelyn is creating a webpage for her school project. She wants to define a paragraph of text. Which HTML tag should she use?

a)

<h2>

b)

<p> </p>

c)

<header>

d)

{body}

37.

Karissa is creating a website for her school project. What is the purpose of the <a href="   "> </a> tag she is using in her HTML code?

a)

To create a hyperlink

b)

To display an image

c)

To format text as bold

d)

To define a paragraph of text

38.

Joaquin is creating a website for his photography portfolio. He wants to display his photos on the website. Which HTML tag should he use?

a)

<kodak>

b)

<add color>

c)

<photo>

d)

<img src=" ">

39.

Lance is building a website for his school project. He wants to list out the names of his team members without any specific order. Which HTML tag should he use?

a)

<table>

b)

<ul> </ul>

c)

<list> </list>

d)

<ol>

40.

Oscar is creating a website for his school project. He wants to list the names of his team members in a specific order. Which HTML tag should he use?

a)

To create an ordered list, he should use the

  1. tag <ol> </ol>

b)

To create an unordered list, he should use the

  • tag <ul> </ul>

c)

To display a video, he should use the tag <video>.

d)

To create a table, he should use the tag <table>.

41.

Ryan is creating a website for his school project. He wants to add a table to one of the pages. What is the purpose of the <tr> tag that Ryan should use?

a)

To define a container for a table row/ a single row.

b)

To define a tab

c)

To create a hyperlink

d)

To define a table color

42.

In this code <img src

What does src stand for?

a)

sauce

b)

source

c)

saucey-sauce

d)

saucer

43.

<a href="https://www.picturelocation"> Click me </a>

Is this coded correctly?

a)

Yes

b)

No

44.

<a herf="https://www.picturelocation"> Click me </a>

Is this coded correctly?

a)

Yes

b)

No, they wrote herf

45.

<a href+"https://www.picturelocation"> Click me </a>

What is wrong with this code?

a)

It should be

<a href=

b)

It should be

<a href-

c)

It should be

<a href/

46.

Which tag is used to link web pages to each other?

a)

<link> </link>

b)

<hyperlink> </hyperlink>

c)

<a href = "url of site"> </a>

d)

<body> </body>

47.

Which of the following is the correct HTML syntax for inserting an image

a)

<img>apple.jpg</img>

b)

<img src="apple.jpg">

c)

<image src="apple.jpg">

d)

<img ="apple.jpg">

48.

Which code below is correct for a hyperlink

a)

<a>

"https://google.com"

Click Me

</a>

b)

<a>Click Me>

"https://google.com"

</a>

c)

<a herf="https://google.com">

Click Me

</a>

d)

<a href="https://google.com">

Click Me

</a>

49.

Which tag is required for every item that is included in any kind of list?

a)

<b>

b)

<a>

c)

<li>

d)

<td>

50.

Which of the following codes would create a horizontal line

a)

<br>

b)

<h1></h1>

c)

<hr>

d)

<p>