wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Lesson 2 Quiz : Hypertext Markup Language

Total questions: 45

Worksheet time: 11hrs 15mins

Name
Class
Date
1.
What does HTML stand for?
a)
Hypertext Making Language
b)
Hyper Transfer Markup Language
c)
Hypertext Markup Language
d)
Hyper Transfer Making Language
2.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
3.
A <tag>
a)
Is used to divide sections
b)
Is not needed in HTML
c)
Tells the browser how to format our content
d)
Is part of the title line in HTML
4.
<h> is
a)
Header Tag
b)
Headline Tag
c)
Half of a tag
d)
Closing header tag
5.
</h> is
a)
Header Tag
b)
Headline Tag
c)
Half of a tag
d)
Closing header tag
6.
<p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
7.
</p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
8.
An attribute is a; 
a)
Applies changes to everything
b)
Different options for each tab
c)
Allows for no changes to the site
d)
Gives structure and text
9.
<style>
a)
Found at top of styling options
b)
Allows a heading to be written
c)
Allows the body to be written
d)
Allows attributes to be included
10.
Body tags are used;
a)
Used for only the header
b)
Used only for the paragraph
c)
element that wraps everything that is visible on the page.
d)
Not used in HTML
11.
<body>
a)
Body tag
b)
Paragraph tag
c)
Closing body tag
d)
Header tag
12.
</body>
a)
Body tag
b)
Paragraph tag
c)
Closing body tag
d)
Header tag
13.
<html>
a)
Gives you structure and text
b)
Not needed when creating HTML sites
c)
Goes after the <h1>
d)
Goes after the <body>
14.
</html>
a)
Found after </h1>
b)
Found after </style>
c)
Found after </body>
d)
Found at bottom of written code
15.
<img> tag finds;
a)
finds the image located at the a URL and the src attribute and then displays it.
b)
finds the image located at the SRC in the URL attribute and then displays it.
c)
Adds a cool picture
d)
Does not work in HTML coding
16.

The _______ tag is used to create an HTML form for user input.

a)

<fieldset>

b)

<input>

c)

<form>

d)

<label>

17.

Which allows the user to pick just one of a number of option

a)

Checkbox

b)

Radio button

c)

Drop down list

d)

Password input

18.

Attributes used for file upload box

(a)  

19.

<input type="___________" name="gender" value="male"> Male

<input type="___________" name="gender" value="female">Female


(Fill the type of input which used to select just one option.)

(a)  

20.

There are (a)   types of text input used on forms

21.

HTML form is used for/to

a)

Collect user input

b)

It is not a section of a document

c)

Contains password control only

d)

Users can enter data in specific fields

e)

to capture website visitors' information

22.

Which tag used to groups the related element in a form.

a)

<input>

b)

<optgroup>

c)

<legend>

d)

<fieldset>

23.
What does HTML stand for?
a)
Hypertext Medium Language
b)
Hippo Tries Making Licorice
c)
Hypertext Markup Lingo
d)
Hypertext Markup Language
24.
Which of the following is NOT a function of the <title> </title> element?
a)
Defines a title in the browser tab.
b)
Provides a title for the page when added to favorites/bookmarks
c)
Creates the first heading on the index page of the website
d)
Displays a title for the page in search engine results
25.
What is the correct HTML element for inserting a line break?
a)
<lb>
b)
<br>
c)
<break>
d)
<bk>
26.
What is the purpose of HTML
a)
To make a formatted document
b)
To make a webpage
c)
To edit photos
d)
To make a creative slide
27.
Multimedia can be embedded in an HTML document.
a)
Yes
b)
No
28.
Choose the correct tag for the largest heading:
a)
h6
b)
heading
c)
head
d)
h1
29.
http://www.google.com is an example of a what?
a)
URL
b)
IP address
c)
Browser
d)
Application
30.
Google Chrome is an example of a what?
a)
URL
b)
Web browser
c)
IP address
d)
metal
31.
What is the second tag that you put in a html document?
a)
<head>
b)
<header>
c)
<title>
d)
<!DOCTYPE html>
32.
In a basic web page, what is the third tag that you might put in a html document?
a)
<title>
b)
<header>
c)
<!DOCTYPE html>
d)
<html>
33.
Which of the following tags are in the <head>
a)
<p>
b)
<body>
c)
<meta>
d)
<h1>
34.
Which of the following tags are in the <head>
a)
<p>
b)
<body>
c)
<footer>
d)
<title>
35.
Which of the following tags are the last tag on a html document
a)
<end>
b)
</body>
c)
</footer>
d)
</html>
36.
The <body> tag comes after the <head> tag - true or false?
a)
True
b)
False
37.
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>
38.
Which of these elements are all <table> elements?
a)
<table><tr><td>
b)
<thead><body><tr>
c)
<table><head><tfoot>
d)
<table><tr><tt>
39.
What is the correct HTML for making a checkbox?
a)
<check>
b)
<input type="checkbox">
c)
<checkbox>
d)
<input type="check">
40.

Write the HTML code to generate the output as shown.

Note: the question is worth 10 points with a time limit of 15 minutes to answer.

4 lines
41.

Which of the following properties is used to change the font of text?

a)

font-family

b)

font-size

c)

text-align

d)

none of the above

42.

Which tag is used to render an image on a webpage?

a)

img

b)

src

c)

image

d)

None of the above

43.

Which of the following tags is used to add a row to a table in HTML?

a)

<tr>

b)

<td>

c)

<th>

d)

None of the above

44.

Write the HTML code for the output as shown.

Note: The question is worth 5 points and need to be answered within 15 minutes ONLY.

4 lines