wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML EOPA Review

Total questions: 40

Worksheet time: 20mins

Name
Class
Date
1.

What does HTML stand for?

a)

Hyperlinks and Text Markup Language

b)

Hyper Text Markup Language

c)

Home Tool Markup Language

2.

Who is making the Web standards?

a)

The World Wide Web Consortium

b)

Google

c)

Microsoft

d)

Mozilla

3.

Choose the correct HTML element for the largest heading:

a)

<h6>

b)

<h1>

c)

<heading>

d)

<head>

4.

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

a)

<lb>

b)

<br>

c)

<break>

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)

<strong>

b)

<i>

c)

<important>

d)

<b>

7.

Choose the correct HTML element to define emphasized text

a)

<i>

b)

<em>

c)

<italic>

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 url="http://www.w3schools.com">W3Schools.com</a>

d)

<a href="http://www.w3schools.com">W3Schools</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" new>

b)

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

c)

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

11.

Which of these elements are all <table> elements?

a)

<table><head><tfoot>

b)

<table><tr><td>

c)

<thead><body><tr>

d)

<table><tr><tt>

12.

Inline elements are normally displayed without starting a new line.

a)

False

b)

True

13.

How can you make a numbered list?

a)

<ul>

b)

<list>

c)

<dl>

d)

<ol>

14.

How can you make a bulleted list?

a)

<dl>

b)

<ul>

c)

<ol>

d)

<list>

15.

What is the correct HTML for making a checkbox?

a)

<input type="checkbox">

b)

<check>

c)

<input type="check">

d)

<checkbox>

16.

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

17.

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

a)

<list>

b)

<input type="list">

c)

<input type="dropdown">

d)

<select>

18.

What is the correct HTML for making a text area?

a)

<input type="textarea">

b)

<input type="textbox">

c)

<textarea>

19.

What is the correct HTML for inserting an image?

a)

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

b)

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

c)

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

d)

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

20.

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)">

21.

An <iframe> is used to display a web page within a web page.

a)

True

b)

False

c)

There is no such thing as an <iframe>

22.

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

a)

True

b)

False

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)

<meta>

b)

<head>

c)

<title>

25.

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

a)

title

b)

longdesc

c)

alt

d)

src

26.

Which doctype is correct for HTML5?

a)

<!DOCTYPE html>

b)

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

c)

<!DOCTYPE HTML5>

27.

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

a)

<section>

b)

<footer>

c)

<bottom>

28.

In HTML, you can embed SVG elements directly into an HTML page.

a)

True

b)

False

29.

What is the correct HTML element for playing video files?

a)

<video>

b)

<media>

c)

<movie>

30.

What is the correct HTML element for playing audio files?

a)

<sound>

b)

<audio>

c)

<mp3>

31.

The HTML global attribute, "contenteditable" is used to:

a)

Return the position of the first found occurrence of content inside a string

b)

Update content from the server

c)

Specifies a context menu for an element. The menu appears when a user right-clicks on the element

d)

Specify whether the content of an element should be editable or not

32.

In HTML, onblur and onfocus are:

a)

Style attributes

b)

Event attributes

c)

HTML elements

33.

Graphics defined by SVG is in which format?

a)

HTML

b)

CSS

c)

XML

34.

The HTML <canvas> element is used to:

a)

draw graphics

b)

display database records

c)

manipulate data in MySQL

d)

create draggable elements

35.

In HTML, which attribute is used to specify that an input field must be filled out?

a)

formvalidate

b)

validate

c)

required

d)

placeholder

36.

Which input type defines a slider control?

a)

slider

b)

search

c)

range

d)

controls

37.

Which HTML element is used to display a scalar measurement within a range?

a)

<meter>

b)

<gauge>

c)

<measure>

d)

<range>

38.

Which HTML element defines navigation links?

a)

<nav>

b)

<navigation>

c)

<navigate>

39.

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

a)

Content aside from the page content

b)

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

c)

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

40.

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

a)

<head>

b)

<section>

c)

<header>

d)

<top>