wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML

Total questions: 28

Worksheet time: 9mins

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)

Mozilla

b)

Microsoft

c)

Google

d)

The World Wide Web Consortium

3.

Choose the correct HTML element for the largest heading:

a)

<head>

b)

<h1>

c)

<heading>

d)

<h6>

4.

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

a)

<lb>

b)

<break>

c)

<br>

5.

What is the correct HTML for adding a background color?

a)

<body bg="yellow">

b)

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

c)

<background>yellow</background>

6.

Choose the correct HTML element to define important text!

a)

<important>

b)

<i>

c)

<b>

d)

<strong>

7.

Choose the correct HTML element to define emphasized text!

a)

<italic>

b)

<i>

c)

<em>

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="new">

b)

<a href="url" target="_blank">

c)

<a href="url" new>

10.

Which of these elements are all <table> elements?

a)

<table><tr><tt>

b)

<table><tr><td>

c)

<thead><body><tr>

d)

<table><head><tfoot>

11.

Inline elements are normally displayed without starting a new line.

a)

true

b)

false

12.

How can you make a numbered list?

a)

<list>

b)

<ol>

c)

<ul>

d)

<dl>

13.

How can you make a bulleted list?

a)

<dl>

b)

<ol>

c)

<ul>

d)

<list>

14.

What is the correct HTML for making a checkbox?

a)

<input type="check">

b)

<check>

c)

<checkbox>

d)

<input type="checkbox">

15.

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

a)

<input type="text">

b)

<textfield>

c)

<textinput type="text">

d)

<input type="textfield">

16.

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

a)

<select>

b)

<input type="list">

c)

<list>

d)

<input type="dropdown">

17.

What is the correct HTML for making a text area?

a)

<textarea>

b)

<input type="textarea">

c)

<input type="textbox">

18.

What is the correct HTML for inserting an image?

a)

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

b)

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

c)

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

d)

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

19.

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

a)

true

b)

false

20.

Block elements are normally displayed without starting a new line.

a)

true

b)

false

21.

Which HTML element defines the title of a document?

a)

<title>

b)

<head>

c)

<meta>

22.

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

a)

alt

b)

longdesc

c)

src

d)

title

23.

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>

24.

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

a)

<bottom>

b)

<section>

c)

<footer>

25.

Which HTML element defines navigation links?

a)

<nav>

b)

<navigation>

c)

<navigate>

26.

In HTML, what does the <aside> element define?

a)

A navigation list to be shown at the left side of the page

b)

The ASCII character-set; to send information between computers on the Internet

c)

Content aside from the page content

27.

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

a)

<section>

b)

<header>

c)

<head>

d)

<top>

28.

Which of the following is NOT a semantic element?

a)

<aside>

b)

<div>

c)

<main>

d)

<article>