wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML Recap

Total questions: 61

Worksheet time: 36mins

Name
Class
Date
1.

Which of the listed heading tags creates the largest heading?

a)

H2

b)

H3

c)

H4

d)

H6

2.

HTML coding involves using ____________ to create webpages.

a)

Tabs

b)

Tags

c)

Labels

d)

Quotes

3.

HTML stands for...

a)

Hyper Text Markup Language

b)

High Tech MachineLanguage

c)

High Tech Modem Language

d)

Hyper Tech Markup Lexicon

4.

This coding is used to create a paragraph:

a)

<pr></pr>

b)

<p></p>

c)

<para></para>

d)

<par></par>

5.

Which is the correct HTML tag for creating an unordered list?

a)

<ul>

b)

<uline>

c)

<u>

d)

<under>

6.

Which tag would you use to make a heading?

a)

<heading></heading>

b)

<bigger></bigger>

c)

<h></h1>

d)

<h1></h1>

7.
HTML tags are always surrounded by
a)
( )
b)
{ }
c)
< >   
d)
"  "
8.

Which tag pair is used to create the largest heading?

a)

<h1></h1>

b)

<h9></h9>

c)

<h type = "largest"></h>

d)

<h6> </h6>

9.

The beginning tag works like the "on" switch and the ending tag works like the "off" switch.

a)

True

b)

False

10.

The 7th grade students want to make a list of the winners of a race using numbers They would use which HTML tag?

a)

<ul></ul>

b)

<ol></ol>

c)

<list></list>

11.

Everything visible on a web page goes between these two tags.

a)

<body> </body>

b)

<title> </title>

c)

<header> </header>

d)

None of the Above

12.

Which of the following creates the smallest header?

a)

<H2><./H2>

b)

<H3></H3>

c)

<H4></H4>

d)

<H6></H6>

13.

Website Content is the text, images, and other elements included in a web page.

a)

True

b)

False

14.

When coding an ordered or unordered list, each separate item in the list uses this tag:

a)

<li></li>

b)

<list></list>

c)

<item></item>

15.

Which of these is another name for a web page address?

a)

CSS

b)

JAVA

c)

URL

d)

CNN

16.

More than 90 percent of websites on the Internet are coded using HTML.

a)

True

b)

False

17.

The universally accepted name for the first page on a website is

a)

home.html

b)

index.html

c)

first.html

18.

Who is considered by many to be the "Father of the World Wide Web" and the creator of HTML?"

a)

Tim Berners-Lee

b)

Tim Cook

c)

Tim Sweeney

19.

Which of the following pieces of code will create a horizontal line across the page?

a)

<hr>

b)

<line>

c)

<p>

d)

<grid>

20.

It is a global network of billions of computers and other electronic devices.

a)

search engine

b)

internet

c)

web browser

d)

all of the above

21.

Where does the content visible to users go in an HTML document?

a)

<head>

b)

<title>

c)

<body>

d)

<meta>

22.

HTML stands for...

a)

Hyper Time Multiple Language

b)

Hyper Text Mark-up Language

c)

Hippo T-Rex Mascot Lemur

d)

Hipper Text Make Language

23.

Which is the proper way to write an h1 tag

a)

<h1>Hello</h1>

b)

<h1>"Hello

c)

{h1}Hello{/h1}

d)

<h1>Hello<h1>

24.

Which character is used to indicate an end tag?

a)

!

b)

#

c)

/

d)

\

25.

Which set contains all of the DEFAULT tags needed to create a webpage?

a)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

</body>

</html>

b)

<html>

<head>

</head>

<body>

</body>

</html>

c)

<!DOCTYPE html>

<html>

<head>

</head>

</html>

d)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

</body>

26.

Choose the correct HTML element for the largest heading:

a)

<head>

b)

<h1>

c)

<heading>

d)

<h6>

27.

HTML controls the _________ of a webpage.

a)

feel

b)

precision

c)

structure

d)

style

28.

More than 90 percent of websites on the Internet are coded using HTML.

a)

True

b)

False

29.

Which of the following creates the smallest header?

a)

<H2><./H2>

b)

<H3></H3>

c)

<H4></H4>

d)

<H6></H6>

30.
HTML tags are always surrounded by
a)
( )
b)
{ }
c)
< >   
d)
"  "
31.

What is the purpose of the <head> section in an HTML document?

a)

To display the main content of the website

b)

To contain metadata and links to external resources

c)

To add interactive elements to the webpage

d)

To add headings to the webpage

32.

What is the primary purpose of an HTML table?

a)

To style a webpage

b)

To organize and display data

c)

To create forms for user input

d)

To add images to a webpage

33.

Which HTML element is used to create a table?

a)

<div>

b)

<table>

c)

<tr>

d)

<td>

34.

What does the <tr> element represent in an HTML table?

a)

A table column

b)

A table row

c)

A table cell

d)

A table header

35.

What is the difference between <th> and <td> elements in a table?

a)

<th> is for table rows, <td> is for table cells

b)

<th> is for header cells, <td> is for data cells

c)

<th> and <td> are interchangeable

d)

<th> and <td> are interchangeable

36.

Which CSS property is commonly used to add borders to a table?

a)

border-collapse

b)

border-width

c)

border

d)

outline

37.

Which CSS property is used to collapse the borders between cells?

a)

border-spacing

b)

border-collapse

c)

cell-collapse

d)

collapse-borders

38.

The < (a)   > tag is used to create a table in HTML.

39.

Each row in a table is defined using the < (a)   > tag.

40.

Table headers are created using the <_____> tag, while data cells are created using the <_____> tag.


(a)  

41.

True or False?

A table border will always appear whenever a table is being created.

a)

True

b)

False

42.

The action attribute of a form

a)

tells how the information should be sent to the server.

b)

tells what web page or script will process the form.

c)

lets the user select from a set of options

d)

is a button command that processes the form

43.

The select field in a form

a)

is used inside an input element.

b)

provides users with a set of options to choose from.

c)

auto-completes as the user types data.

d)

cannot have a default option setting.

44.

In a form, <input type="text" ...>

a)

cannot be set to "required"

b)

is not valid

c)

will accept multiple lines of characters.

d)

will accept only a single line of characters.

45.

To help users know what to put in field, use

a)

<input name="firstname">

b)

<label for="firstname">

<input type="text" id="firstname>

c)

<input type="text" id="firstname" name="label">

d)

<input label="First Name" type="text">

46.

In a form, a drop-down list of options

a)

begins with a select tag followed by a list of option tags.

b)

begins with an option tag followed by a list of select tags.

c)

begins with a select tag followed by a list of datalist tags.

d)

begins with a datalist tag followed by a let of option tags.

47.

A comment field for multiple lines of text

a)

<label for="comments">

<comments type="textarea" id="comments">

b)

<label for="textarea">

<input type="textarea" id="textarea">

c)

<input type="textarea" rows="6" cols="50">

d)

<textarea rows="6" cols="50"></textarea>

48.

To group sections of a form to make it easier to read, use

a)

fieldset

b)

group

c)

groupset

d)

formset

49.

To assign a name for a fieldset, use

a)

caption

b)

name

c)

legend

d)

title

50.

To submit a form for processing, use

a)

<input type="button" method="submit">

b)

<button type="submit"></button>

c)

<input type="submit">Submit</input>

d)

<input type="submit" value="Submit">

51.

Multiple Choice questions in html are referred to as...

a)

multiple choice

b)

dot buttons

c)

radio buttons

d)

circle buttons

52.

Forms are not as relevant today as they once were.

a)

True

b)

False

53.
Which of these allows you to select multiple options in a form?
a)
check boxes
b)
radio buttons
c)
text area
54.

the type attribute will specify the way the user inputs information.

a)

True

b)

False

55.

The input tag will default as

a)

a one line text box

b)

a button

c)

nothing it needs a type

d)

a form

56.

To create a form in HTML which tag would you begin with?

a)

input

b)

label

c)

form

d)

none of these

57.

Where do users typically see forms?

a)

login screens

b)

social media sites

c)

banking sites

d)

all of the above

58.

Which of the following paired correctly?

a)

<button> : it defines a clickable button.

b)

<fieldset> : it defines an HTML form to enter inputs by the user.

c)

<label> : it defines a label for an input element.

d)

<textarea> : it defines a caption for a <fieldset> element.

59.

TRUE or FALSE


The id attribute of the <input> element should always be equal to the for attribute of the <label> element.

(a)  

60.

What HTML input type is used to create this password field?

a)

<input type="text">

b)

<input type="submit">

c)

<input type="password">

d)

<input type="radio">

61.

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

a)

required

b)

validate

c)

formvalidate

d)

placeholder