wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML BASICS

Total questions: 25

Worksheet time: 12mins

Name
Class
Date
1.
What does HTML stand for?
a)
Home Tool Markup Language
b)
Hyper Text Markup Language
c)
Hyperlinks and Text Markup Language
2.
Who is making the Web standards?
a)
Google 
b)
The World Wide Web Consortium 
c)
Mozilla 
d)
Microsoft
3.
Choose the correct HTML element for the largest heading:
a)
<h6>
b)
<heading>
c)
<h1>
d)
<head>
4.
What is the correct HTML element for inserting a line break?
a)
<br/>
b)
<break>
c)
<lb>
d)
<st>
5.
What is the correct HTML for adding a background color?
a)
<background>yellow</background>
b)
<body style="background-color:yellow;">
c)
<body bg="yellow">
6.
Choose the correct HTML element to define important text
a)
<i>
b)
<strong>
c)
<b>
d)
<important>
7.
Choose the correct HTML element to define emphasized text
a)
<italic>
b)
<em>
c)
<i>
d)
<emp>
8.
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>
9.
Which character is used to indicate an end tag?
a)
/
b)
*
c)
^
d)
<
10.
How can you open a link in a new tab/browser window?
a)
<a href="url" target="_blank">
b)
<a href="url" target="new">
c)
<a href="url" new>
11.
Which of these elements are all <table> elements?
a)
<table><tr><td>
b)
<thead><body><tr>
c)
<table><head><tfoot>
d)
<table><tr><tt>
12.
Inline elements are normally displayed without starting a new line.
a)
True
b)
False
13.
How can you make a numbered list?
a)
<list>
b)
<ol>
c)
<dl>
d)
<ul>
14.
How can you make a bulleted list?
a)
<ol>
b)
<ul>
c)
<list>
d)
<dl>
15.
What is the correct HTML for making a checkbox?
a)
<check>
b)
<input type="checkbox">
c)
<checkbox>
d)
<input type="check">
16.
What is the correct HTML for making a text input field?
a)
<textinput type="text">
b)
<input type="textfield">
c)
<textfield>
d)
<input type="text">
17.
What is the correct HTML for making a text area?
a)
<textarea>
b)
input type="textbox">
c)
<input type="textarea">
d)
<text>
18.
What is the correct HTML for making a drop-down list?
a)
<list>
b)
 <select>
c)
 <input type="list">
d)
 <input type="dropdown">
19.
What is the correct HTML for inserting an image?
a)
<input type="dropdown">
b)
<list>
c)
<select>
d)
<input type="list">
20.
What is the correct HTML for inserting a background image?
a)
<background img="background.gif">
b)
<body style="background-image:url(background.gif)">
c)
<body background=”background.gif”>
d)
<background.gif">
21.
An <iframe> is used to display a web page within a web page.
a)
False
b)
There is no such thing as an <iframe>
c)
True
22.
HTML comments start with <!-- and end with -->
a)
False
b)
True
23.
Block elements are normally displayed without starting a new line.
a)
True
b)
False
24.
Which HTML element defines the title of a document?
a)
<title>
b)
<meta>
c)
<head>
25.
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
a)
alt
b)
title
c)
src
d)
longdesc