wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML Test 01

Total questions: 47

Worksheet time: 23mins

Name
Class
Date
1.
What does HTML stand for?
a)
Hypertext Making Language
b)
Hyper Transfer Markup Language
c)
Hypertext Markup Language
d)
Hyper Transfer Making Language
2.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
3.
<p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
4.
</p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
5.

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>

6.

What does a opening tag look like?

a)

< >

b)

</ >

c)

<< >>

d)

<

7.

What does a closing tag look like?

a)

< >

b)

<\ >

c)

</ >

d)

<< >>

8.

What should a HTML web page start with?

a)

<b>

b)

<li>

c)

<html>

d)

<start>

9.

What should a HTML web page end with?

a)

</html>

b)

<head>

c)

</end>

d)

</body>

10.

What does this tag stand for? <b>

a)

bright

b)

big

c)

beautiful

d)

bold

11.
What HTML element defines the title of the document?
a)
<title>
b)
<head>
c)
<meta>
12.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
13.
HTML uses
a)
Tabs
b)
Tags
c)
Labels
d)
Quotes
14.
Google Chrome, Mozilla Firefox and Microsoft Edge are all examples of what?
a)
Search engines
b)
Websites
c)
Web Browsers
d)
Text editors
15.
Which is the correct HTML element for inserting a line break?
a)
<b>
b)
<lb>
c)
<br>
d)
<break>
16.
What will happen to the text in blue?   <p>He named his car <i>The lightning</i>, because it was very fast.</p>
a)
the content will be displayed in italic
b)
the content will display an image
c)
the content defines text inserted into a document
17.
CSS stands for?
a)
Closed Source Style
b)
Crucial Style Sheets
c)
Cascading Style Sheets
d)
Corresponding Static Style
18.
If you wanted to add links to your web page - what tag would you use?
a)
<a>
b)
<p>
c)
<div>
d)
<link>
19.
the tag <IMG> would insert what into a web page?
a)
Insert a title
b)
Insert a link
c)
Insert an image
20.
What coding would be used to define a header cell in an HTML table
a)
<th>Month</th>
b)
<td>Month</td>
c)
<h1>Month</h1>
d)
<h2>Month</h2>
21.
Which code will make your background red?
a)
<body style=background-color:red;>
b)
<body style="background-color:yellow;">
c)
<body style="background-color:red;">
d)
<body colormybg="background-color:red;">
22.
what does the following tag do <div>
a)
defines a division or a section in an HTML document
b)
defines all the divas in the classroom
23.
Which tag will create a new row in a HTML table?
a)
<r>
b)
<tr>
c)
<row>
d)
<tablerow>
24.
How would you centre a H2 heading?
a)
<h1 align="center">
b)
<h2 stickit="center">
c)
<h2 align=center>
d)
<h2 align="center">
25.
How would you set the height of a cell to 170 in a HTML table?
a)
Height="170"
b)
Ht="170"
26.

What symbol should you use to target an id in css?

a)

.

b)

+

c)

id

d)

#

27.

What symbol should you use to target a class name in css?

a)

#

b)

()

c)

.

d)

class

28.

What is the correct syntax to change the background color with css?

a)

background-color: purple;

b)

background-color = "purple";

c)

backgroundcolor=orange

d)

change-background-color: purple

29.

TRUE OR FALSE: HTML is used to style web pages.

a)

True

b)

False

30.

What is missing from this HTML skeleton?


<!DOCTYPE html>

<html>

<body>

</body>

</html>

a)

<head></head>

b)

<div></div>

c)

<img></img>

d)

<head>

31.

What tag do you use to make a numbered list?

a)

<list>

b)

<ol>

c)

<li>

d)

<ul>

32.

How do you change the font color with CSS?

a)

font-color: green;

b)

color: green;

c)

change-font-color: green;

d)

fontcolor=green;

33.

Where should you put the link tag to connect your CSS and HTML file?

a)

Between the <head> </head> in HTML

b)

Between the <body> </body> in HTML

c)

None of the above.

34.

Which of the following is the correct CSS link tag?

a)

<link rel="styles" href="stylesheet.css">

b)

<link href="stylesheet">

c)

<link rel="stylesheet" src="styles.css">

d)

<link rel="stylesheet" href="styles.css">

35.
The default link color for hyperlinks:
a)
green
b)
blue
c)
purple
d)
red
36.
HTML tags are always surrounded by
a)
( )
b)
{ }
c)
< >   
d)
"  "
37.

Which of the following creates the smallest header?

a)

<H2><./H2>

b)

<H3></H3>

c)

<H4></H4>

d)

<H6></H6>

38.

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

a)

CSS

b)

JAVA

c)

URL

d)

CNN

39.

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

a)

home.html

b)

index.html

c)

first.html

40.

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

41.

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

42.

The problem with the Get method

a)

form data is not encrypted

b)

form data appears in the URL

c)

it is not reliable

d)

only part of the data is sent to the server

43.

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

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.

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.

46.

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

47.
CSS coding used to insert italics
a)
font-size
b)
font-weight
c)
font-style