NEW
Font size
S
M
L
XL
WorksheetsMWD 4.01
Total questions: 44
Worksheet time: 22mins
Name
Class
Date
1.
In the code below, how will the paragraph in lines 24 and 25 display when viewed in a web browser?
a)
Verdana, white text, 18 pixels
b)
Times New Roman, black text, 16 pixels
2.
Sarah wants to create a web page displaying text in the Arial typeface.Which CSS inline style should be used?
a)
<body style=“font:Arial”>
b)
<body font=“style:Arial”>
3.
What document or section information contains introductory content or a set of navigational links for the web page?
a)
Header
b)
Footer
4.
In the code below, which line indicates the end of an HTML document?
a)
Line 4
b)
Line 8
5.
What tag defines the beginning of a web page?
a)
<html>
b)
<title>
6.
Which item shows proper syntax for an HTML comment?
a)
A
b)
B
c)
C
d)
D
7.
A properly coded HTML tag will always be found between which two symbols?
a)
( )
b)
<>
8.
Which tag will create a line break in a web document?
a)
<br />
b)
<hr />
9.
Tiffany is creating a multiple page website and wants consistency in appearance. Which CSS method permits her to update the appearance of all pages by changing one file?
a)
External style sheet
b)
Internal style sheet
10.
Which is the correct code to insert a horizontal line in a web page?
a)
A
b)
B
c)
C
d)
D
11.
Which CSS inline style results in the text size of a web page paragraph displaying at 14px?
a)
<p style=“font:14px”>
b)
<p style=“font-size:14px”>
12.
What type of CSS is coded in line 14?
a)
Internal CSS
b)
External CSS
13.
In the code below, what color will the heading “3 Facts About Me” display when viewed in a web browser?
a)
#CCCCCC
b)
#3D5C99
14.
In the code below, how will lines 18 through 22 display in a web browser?
a)
Numbered list
b)
Definition list
15.
The World Wide Web Consortium (W3C) plays which role in the web development standards?
a)
It creates websites accessible to everyone
b)
It develops the standards for HTML and CSS.
16.
John wants to insert a CSS comment identifying himself as the author.Which line of code correctly inserts a CSS comment?
a)
<--Written by John Doe-->
b)
/*Written by John Doe*/
17.
In the code below, which line of code will display the web document’s title in a web browser?
a)
Line 4
b)
Line 15
c)
Line 16
d)
Line 25
18.
What is the proper code to insert an image named “frog.jpg” into a webpage?
a)
<img src=“frog.jpg” width=“104” height=“142”>
b)
<img=“frog.jpg” width=“104” height=“142”>
19.
Annie wants the name of her product to be the main heading at the top of her web page. Which code would be used to define the main heading for the product in a web page?
a)
<h1>Product</h1>
b)
<h3>Product</h3>
20.
For line 17 in the code below, how will "World Wide Web Consortium" display on the web page?
a)
Hyperlink
b)
Audio
21.
Which item interprets the source code in a web document?
a)
Web browser
b)
Web server
22.
What is line 17 in the code below?
a)
Absolute reference
b)
Nav
23.
Anthony is creating a web page on seals. To ensure that his page can be found through Google, Anthony must include pertinent information in which tag section?
a)
A
b)
B
c)
C
d)
D
24.
In the code below, which line indicates the beginning of the visible content of the web page?
a)
Line 1
b)
Line 2
c)
Line 3
d)
Line 5
25.
In the code below, what color will the heading, Welcome to My WebPage, display when viewed in a web browser?
a)
#E6E6E6C
b)
#CCCCCC
26.
When using a text editor, what file extension(s) must be used when saving as a web document?
a)
.txt
b)
.html or .htm
27.
Which tag defines the set of navigation links?
a)
A
b)
B
c)
C
d)
D
28.
Which hyperlink shows an absolute link?
a)
<a href=“http://www.target.com”>Target</a>
b)
<a href=“offers.jpg”>Offers</a>
29.
Karen wants to begin a new line within a paragraph of text on a webpage. Which code should she use?
a)
<br />
b)
<li></li>
30.
John wants the name of his book to appear in Google's search results. In which tag should this information be placed within in his web page?
a)
A
b)
B
c)
C
d)
D
31.
Which line of code correctly places a GIF image named “tiger” into a webpage?
a)
<img src=“tiger” alt=“BengalTiger”>
b)
<img src=“tiger.gif” alt=“BengalTiger”>
32.
What is the difference between an HTML tag and an HTML element?
a)
An HTML tag is case sensitive and an HTML element is not case sensitive.
b)
An HTML Tag defines content and an HTML element includes theopening and closing tags and everything in between.
33.
What section of a web page contains the author of the document,copyright information, links to the terms of the use, contact information,etc.
a)
Footer
b)
Nav
34.
Which is an example of using an inline CSS style in a web page?
a)
<p style=“color:blue”>
b)
p {style=“color:blue”}
35.
Which item refers to the start tag, the end tag and everything in between?
a)
HTML element
b)
CSS
36.
Which tag provides information about a website?
a)
A
b)
B
c)
C
d)
D
37.
What will display for lines 10 through 14 in the code below?
a)
Numbered list
b)
Bulleted list
38.
Which is the proper way to code an inline style attribute?
a)
color=blue
b)
color="blue"
39.
Which line of code correctly creates a link to Amazon’s website?
a)
<a href=“http://www.amazon.com”>Amazon</a>
b)
<href=http://www.amazon.com>Amazon<a>
40.
What will display for lines 24 through 27 in the code below?
a)
Numbered list
b)
Audio
41.
Which tag defines the visible content of a web document?
a)
A
b)
B
c)
C
d)
D
42.
Jerry wants to insert a line break into his web page. Which code should he use?
a)
<br>
b)
<ul>
43.
A designer would use which tag to create a web page with sections of specific styles?
a)
A
b)
B
c)
C
d)
D
44.
Between which paired tags would the visible content of a web page be displayed?
a)
A
b)
B
c)
C
d)
D
Reset
