NEW
Font size
S
M
L
XL
WorksheetsHTML diploma revision
Total questions: 60
Worksheet time: 35mins
Name
Class
Date
1.
What does HTML stand for?
a)
Hypertext Medium Language
b)
Hippo Tries Making Licorice
c)
Hypertext Markup Lingo
d)
Hypertext Markup Language
2.
Name an element which doesn't have a closing tag.
a)
<img>
b)
<head>
c)
<body>
d)
<p>
3.
The following tag will show a bulleted list
a)
<ul>
b)
<ol>
c)
<li>
d)
<list>
4.
Which web image format supports both transparency AND animation?
a)
PNG
b)
JPG
c)
SWF
d)
GIF
5.
What symbol should precede hexadecimal color codes?
a)
ampersand
b)
semicolon
c)
number sign
d)
equal sign
6.
Which tag defines a numbered list?
a)
OL
b)
UL
c)
LI
d)
NL
7.
The default link color for hyperlinks:
a)
green
b)
blue
c)
purple
d)
red
8.
What should be modified in a hyperlink to make it open into a new window?
a)
class
b)
ID
c)
link
d)
target
9.
Which tag is used to create a hyperlink?
a)
<a>
b)
<href>
c)
<b>
d)
<i>
10.
What is the correct syntax for inserting an image?
a)
<image source="untitled.jpg"/>
b)
<img src="untitled.jpg"/>
c)
<src img="untitled.jpg"/>
d)
<img scr="untitled.jpg"/>
11.
Which tag is used to create a new column within a table?
a)
<table>
b)
<td>
c)
<tr>
d)
<tb>
12.
Images in your webpage may have the following extensions except
a)
.png
b)
.gif
c)
.jpg
d)
.psd
13.
There simple, easy-to-use programs allow you to enter, edit, save, and print text.
a)
text editor
b)
web browser
c)
domain name
d)
webmaster
14.
Defines a division or a section in an HTML document. Used to group block-elements to format them with CSS
a)
<div>
b)
<span>
c)
<caption>
d)
<group>
15.
used to group inline-elements in a document
a)
<span>
b)
<div>
c)
<elements>
d)
<group>
16.
to make a comment in HTML you use
a)
<!-- -->
b)
//
c)
/*
d)
#
17.
Which allows you to change the font?
a)
font-type
b)
font
c)
font-family
d)
text-font
18.
What tag is used for CSS?
a)
<style>
b)
<css>
c)
<body>
d)
<script>
19.
How do you center text?
a)
text-align: true;
b)
text-align: false;
c)
text-align: center;
d)
text: align center;
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.
CSS stands for?
a)
Closed Source Style
b)
Crucial Style Sheets
c)
Cascading Style Sheets
d)
Corresponding Static Style
22.
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;">
23.
Which tag will create a new row in a HTML table?
a)
<r>
b)
<tr>
c)
<row>
d)
<tablerow>
24.
Which is NOT a web browser?
a)
Chrome
b)
Internet explorer
c)
FireFox
d)
Yahoo
25.
which tag will create the largest heading
a)
<h6>
b)
<h4>
c)
<h2>
d)
<h3>
26.
What does the <HTML> tag tell the browser
a)
that it is an HTML document
b)
defines the documents body
c)
that it contains all the head elements
27.
How would you set the height of a cell to 170 in a HTML table?
a)
Height="170"
b)
Ht="170"
28.
What best describes web authoring software?
a)
it creates HTML code to make web pages.
b)
It is used to view web pages
29.
Style tags are used to;
a)
Apply style to one line
b)
Not used in HTML
c)
Used at the top of the page to apply a style to the entire document
d)
Used sparingly
30.
What goes in the <head> section?
a)
A brain
b)
the title
c)
hair
d)
the body
31.
Which is NOT a browser?
a)
Safari
b)Google
c)
Internet Explorer
d)
Google Chrome
32.
What must you save your notepad++ file as to make it a webpage?
a)
.webpage
b)
.htl
c)
.txt
d)
.html
33.
What symbols go around the properties for each CSS selector?
a)
< >
b)
[ ]
c)
{ }
d)
( )
34.
Which is correct CSS syntax?
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black)
35.
Why won't the following anchor tag work? <ahref=https://www.google.com/>click here</a>
a)
The link is incorrect. it should be ref, not href
b)
The URL is missing quotation marks
c)
There is no anchor tag in the code
d)
The href is missing a closing tag
36.
Which attribute contains the URL to a linked web page?
a)
href
b)
type
c)
src
d)
name
37.
The <img> tag is used to mark what type of content?
a)
graphics
b)
video
c)
hyperlinks
d)
data tables
38.
The <caption> tag marks what in a data table?
a)
column cell
b)
row
c)
heading cell
d)
table title
39.
Which tag is used to describe input fields in a web form?
a)
<label>
b)
<h3>
c)
<li>
d)
<caption>
40.
The <textarea> tag is used to mark what type of form field?
a)
multi-line text entry
b)
password field
c)
email field
d)
drop-down list
41.
Which tag is used to submit a form?
a)
<button>
b)
<label>
c)
<input>
d)
<textarea>
42.
What does <li> do?
a)
Creates an ordered list
b)
Creates a list item
c)
Creates italic text
d)
Creates an image
43.
How do you find out the HTML of existing websites?
a)
Right click 'view source'
b)
Right click 'view sauce'
c)
left click 'view source'
d)
left click 'view HTML'
44.
How many heading are there?
a)
5
b)
6
c)
4
d)
3
45.
Karen wants to begin a new line within a paragraph of text on a webpage. Which code should she use?
a)
<li>
b)
<h1>
c)
<hr>
d)
<br>
46.
<!DOCTYPE>
a)
Defines the document type
b)
Defines a comment
c)
Defines the document's body
d)
Defines information about the document
47.
When someone owns the rights to an image they made it means...
a)
It is copyrighted
b)
It is free to use
c)
It means they made it
d)
It is worldwide
48.
Which of these elements does not need a separate closing tag?
a)
<img src>
b)
<head>
c)
<body>
d)
<p>
49.
Which tag is used to bold text?
a)
<u>
b)
<em>
c)
<strong>
d)
<h1>
50.
A computer on the Internet that is used for storing and running a Web site is called a .................. .
a)
server
b)
HTML
c)
home page
d)
World Wide Web
51.
The ......... .......... is the first page of the Web site. This page usually tells visitors what the site is about.
a)
home page
b)
main section
c)
subsections
d)
page
52.
....................................... is a computer language used to create documents for display on the World Wide Web.
a)
Web site
b)
CSS
c)
Web page
d)
HTML
53.
There are two basic tools needed to create HTML documents:
a)
elements and attributes
b)
elements and tags
c)
HTML editor and Web browser
d)
home page and main section
54.
If you want to start a new line, you need to insert a ............................. with ...............tag.
a)
<head> element, <h1>
b)
line break, <br>
c)
line break, <p>
d)
break, <b>
55.
"<br>" is an empty element.
a)
True
b)
False
56.
................... are used to set the background style of an HTML element.
a)
Background color
b)
Background image
c)
Background properties
d)
Text properties
57.
If the table features are as shown on the picture what it means?
a)
Table border size is 10 and table alignment is left
b)
Table border size is left and table alignment is 10
c)
Table border size is big and table alignment is center
d)
Table border size is 10 and table alignment is right
58.
What is the meaning of "href" on html coding?
a)
hypertext referenc
b)
hyperlink reference
c)
horizontal reference
d)
hyper reference
59.
Which is correct about <dt> in description list?
a)
defines the description list
b)
defines the term (name)
c)
describes each term
60.
Which is correct about <dd> in description list?
a)
defines the description list
b)
defines the term (name)
c)
describes each term
Reset
