wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML basic

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What does HTML stand for ?

a)

Hyper Text Markup Language

b)

Home Tool Markup Language

c)

Hyperlinks and Text Markup Language

2.

Who is manking the Web standards ?

a)

Microsoft

b)

Google

c)

The World Wide Web Consortium 

d)

Mozilla

3.

Choose the correct HTML element for the largest heading:

a)

<head>

b)

<heading>

c)

<h6>

d)

<h1>

4.

Which of these elements are all <table> elements?

a)

<table><tr><td>

b)

<thead><body><tr>

c)

<table><tr><tt>

d)

<table><head><tfoot>

5.

How can you make a numbered list?

a)

<ol>

b)

<ul>

c)

<dl>

d)

<list>

6.

What is the correct HTML for making a checkbox?

a)

<checkbox>

b)

<check>

c)

<input type="check">

d)

<input type="checkbox">

7.

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

a)

<textinput type="text">

b)

<input type="textfield">

c)

<input type="text">  

d)

<textfield>

8.

What is the correct HTML for making a text area?

a)

<input type="textbox">

b)

<textarea>

c)

<input type="textarea">

9.

What is the correct HTML for inserting an image?

a)

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

b)

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

c)

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

d)

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

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.

What is the correct HTML for making a checkbox?

a)

<check>

b)

<checkbox>

c)

<input type="checkbox">

d)

<input type="check">

12.

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

a)

False

b)

True 

13.

Which HTML element defines the title of a document?

a)

<head> 

b)

<title> 

c)

<meta>

14.

Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?

a)

alt

b)

src

c)

longdesc

d)

title

15.

Which doctype is correct for HTML5?

a)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd">

b)

<!DOCTYPE HTML5>

c)

<!DOCTYPE html>