wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Recap HTML

Total questions: 21

Worksheet time: 11mins

Name
Class
Date
1.

Reg No and Name

(a)  

2.

What does HTML stand for?

a)

Hyper Text Markup Language

b)

Hyperlinks and Text Markup Language

c)

Home Tool Markup Language

3.

Choose the correct HTML element for the largest heading:

a)

<h1>

b)

<heading>

c)

<head>

d)

<h6>

4.

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

a)

<br>

b)

<break>

c)

<lb>

d)

<h6>

5.

What is the correct HTML for adding a background color?

a)

<body style="background-color:yellow;">    

b)

<body bg="yellow">

c)

<background>yellow</background>

6.

Choose the correct HTML element to define important text

a)

<strong> 

b)

<important>

c)

<b>

d)

<i>

7.

What is the correct HTML for creating a hyperlink?

a)

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

b)

<a name="http://www.w3schools.com">W3Schools.com</a>

c)

<a url="http://www.w3schools.com">W3Schools.com</a>

d)

<a>http://www.w3schools.com</a>

8.

Which character is used to indicate an end tag?

a)

/    

b)

*

c)

d)

^

9.

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>

10.

Which of these elements are all <table> elements?

a)

<table><tr><td>     

b)

<table><tr><tt>

c)

<thead><body><tr>

d)

<table><head><tfoot>

11.

How can you make a numbered list?

a)

<ol>    

b)

<dl>

c)

<ul>

d)

<list>

12.

How can you make a bulleted list?

a)

<ol>    

b)

<dl>

c)

<ul>

d)

<list>

13.

What is the correct HTML for making a checkbox?

a)

<input type="checkbox">  

b)

 

<checkbox>

c)

<input type="check">

d)

<check>

14.

What is the correct HTML for making a text input field?

a)

<input type="text">  

b)

  

<input type="textfield">

c)

<textfield>

d)

<textinput type="text">

15.

What is the correct HTML for making a drop-down list?

a)

<input type="dropdown">  

b)

  

<select>     

c)

<input type="list">

d)

<list>

16.

What is the correct HTML for inserting an image?

a)

<img src="image.gif" alt="MyImage">   

b)

<img alt="MyImage">image.gif</img>

c)

<img href="image.gif" alt="MyImage">

d)

<image src="image.gif" alt="MyImage">

17.

What is the correct HTML for inserting a background image?

a)

<body bg="background.gif">   

b)

 

<background img="background.gif">

c)

<body style="background-image:url(background.gif)">    

18.

HTML comments start with <!-- and end with -->

a)

True   

b)

False

19.

Which HTML element defines the title of a document?

a)

<title>    

b)

<head>

c)

<meta>

20.

Which doctype is correct for HTML5?

a)

<!DOCTYPE html>   

b)

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN"

c)

<!DOCTYPE HTML5>

d)

"http://www.w3.org/TR/html5/strict.dtd">

21.

Which HTML element is used to specify a header for a document or section?

a)

<head>    

b)

<top>

c)

<section>

d)

<header>