NEW
Font size
S
M
L
XL
WorksheetsBasic HTML 2
Total questions: 25
Worksheet time: 12mins
Name
Class
Date
1.
What is the difference between HTML and CSS?
a)
CSS is one type of HTML
b)
HTML gives a webpage structure. CSS provides styling.
c)
CSS structures a webpage. HTML strictly provides styling.
d)
There is no difference.
2.
Where in your HTML document should you include the code <!DOCTYPE html>?
a)
body section
b)
doesn't matter
c)
last line
d)
first line
3.
For <img src="#"> to display an image, what must you replace # with?
a)
an image URL
b)
an image anchor tag
c)
the image vector
d)
an image file size
4.
Which tag defines a numbered list?
a)
OL
b)
UL
c)
LI
d)
NL
5.
Which tag is used to create a hyperlink?
a)
<a>
b)
<href>
c)
<b>
d)
<i>
6.
What does HTML stand for?
a)
Hypertext Medium Language
b)
Hippo Tries Making Licorice
c)
Hypertext Markup Lingo
d)
Hypertext Markup Language
7.
You should save HTML files with which file extension?
a)
.htm
b)
.index
c)
.webpage
d)
.html
8.
Name an element which doesn't have a closing tag.
a)
<img>
b)
<head>
c)
<body>
d)
<p>
9.
What HTML element defines the title of the document?
a)
<title>
b)
<head>
c)
<meta>
10.
The content of the web (such as your pictures, text, links) will show up here.
a)
Head
b)
Body
c)
Style
d)
Folder
11.
The following tag will show a bulleted list
a)
<ul>
b)
<ol>
c)
<li>
d)
<list>
12.
Which tag defines a numbered list?
a)
OL
b)
UL
c)
LI
d)
NL
13.
Which tag is used to enter data into a table?
a)
<table>
b)
<td>
c)
<tr>
d)
<tb>
14.
Which attribute provides the user with a way to control the play of the audio: start/stop, jump to any point on the audio track, mute, and adjust volume?
a)
jukebox
b)
controls
c)
playsong
d)
loop
15.
Choose the correct HTML element for the largest heading:
a)
<h6>
b)
<head>
c)
<heading>
d)
<h1>
16.
Which character is used to indicate an end tag?
a)
^
b)
<
c)
*
d)
/
17.
Which of these elements are all <table> elements?
a)
<table><tr><tt>
b)
<thead><body><tr>
c)
<table><head><tfoot>
d)
<table><tr><td>
18.
Which technology resides on a server and receives Web form data from the browser, then processes the data into human-readable format?
a)
CGI
b)
HTTP
c)
XML
d)
HTML
19.
In an HTML form, what is the purpose of the name attribute in an <input> tag?
a)
It identifies the form input received in a name=value pair by the site's administrator.
b)
It is required for the form to render in all browsers.
c)
It labels the form field so the user knows the type of input expected.
d)
It identifies the type of field or button that will appear in the form.
20.
Which *New* element did HTML5 introduce to play auido files natively withing the browser?
a)
<audio>
b)
<iTunes>
c)
<embed>
d)
<script>
21.
Which code can be handy if we want to play background music that never stops?
a)
<audio
src="audio/background.mp3" autoplay
loop></audio>
b)
<p>Listen
to my favorite song:</p>
<audio
src="audio/song.mp3"
controls autoplay></audio>
22.
HTML5 introduced the <audio> element. The goal of this new element is to play audio files natively within the browser. Doing so carries which advantages?
a)
No need for installing, maintaining, and updating specific browser plug-ins.
b)
Faster and smoother performance, since no plug-ins or JavaScript need to be loaded.
c)
More consistency in behavior among the different browsers, versions, and platforms.
d)
All of the Above
23.
What is the primary function of HTML?
a)
To describe content in a web page
b)
To broadcast audio
c)
To enhance animation
d)
To position content on a web page
24.
After you have obtained relevant input for your website, you can create:
a)
a validation program
b)
HTML
c)
images
d)
a storyboard
25.
In an HTML document, text that will appear in the browser as Webpage content is encompassed by which set of tags?
a)
the <title></title> tag
b)
the <body></body> tag
c)
the <head></head> tag
d)
the <html></html> tag
Reset
