Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML Review

Total questions: 25

Worksheet time: 8mins

Name
Class
Date
1.

What is the standard language used in creating web pages?

a)

HTML

b)

CSS

c)

PhP

d)

Javascript

2.

What is used to define the web page structure?

a)

CSS Styles

b)

VB Keywords

c)

Python Code

d)

HTML Tags

3.

What application is used to view web pages on your laptop?

a)
web browser
b)
word processor
c)
spreadsheet software
d)
email client
4.

What is CSS used for in web page creation?

a)
Styling and formatting web pages
b)
Adding interactivity to web pages.
c)
Creating and manipulating databases.
d)
Optimizing website performance.
5.

What is the file extension of a web page source code?

a)
.php
b)

.html or .htm

c)
.css
d)
.js
6.

What tag defines an html document type?

a)

<!DOCTYPE html>

b)

<html>

c)

<type>

d)

<head>

7.

Where do you place <meta> information in an html code?

a)
body
b)
head
c)
title
d)
footer
8.

What are tag attributes?

a)
Additional properties or values that can be added to HTML tags
b)
The name given to HTML tags.
c)
The content inside HTML tags.
d)
Properties or values that modify the appearance or behavior of HTML tags.
9.

Where do you write the attributes of an html tag?

a)
Inside the opening tag
b)
In a separate CSS file.
c)
In the body of the HTML document.
d)
Inside the closing tag.
10.

Attributes are written before the tag name.

a)

True

b)

False

11.

What is the correct structure of a tag attribute and value pair in html?

a)

<tag attribute="value">

b)

<tag:attribute=value>

c)

<tag[attribute=value]>

d)

<tag{attribute:value}>

12.

How do you separate multiple attribute name:value pairs in html?

a)
;
b)
,
c)
Space
d)
:
13.

What kind of html tag has a start and end tag?

a)
empty tag
b)

container tag or non-empty tag

c)
self-closing tag
d)
single tag
14.

What do you call a tag that has no content and needs no closing tag?

a)
empty tag
b)

non-empty tag

c)
void tag
d)
single tag
15.

What tag is used in html to add a line break?

a)

<break>

b)


<lb>

c)

<newline>

d)

<br>

16.

What tag do you use to display a horizontal line in your web page?

a)

<line>

b)

<hr>

c)

<hline>

d)

<horizontal>

17.

Which of the following is not a container tag?

a)

<img>

b)

<p>

c)

<div>

d)

<h1>

18.

What are the two main parts of an html document code?

a)

Title and Footer

b)

Header and Paragraph

c)

Body and Footer

d)

Head and Body

19.

Where will the text inside the <title> </title> tags appear in the browser?

a)

In the main content area of the web page

b)

In the browser's tab

c)

In a pop-up window

d)

In the footer of the web page

20.

How many levels of heading tags are there in html?

a)
6
b)
8
c)
4
d)
10
21.

How are the html heading tags differentiated from one another in appearance?

a)

Heading tags are all displayed in the same font size and style.

b)

Heading tags are differentiated by their background color.

c)

Heading tags have different font sizes and/or styles applied by default.

d)

Heading tags are differentiated by the presence of underlines.

22.

It is a recommended best practice in HTML to use only one <h1> element per page to represent the main heading for the entire page.

a)
Maybe
b)
True
c)
False
d)
Sometimes
23.

What key will refresh the contents of a web browser window?

a)
F5
b)
Shift+R
c)
F4
d)
Ctrl+R
24.

What is the highest heading level in html?

a)

<h1>

b)

<h2>

c)

<h3>

d)

<h6>

25.

Which of the following in not an empty tag?

a)

<img>

b)

<br>

c)

<hr>

d)

<body>