Week 2
Week 2
Question 1
DOM stands for:
1 point
tree
stack
graph
queue
3.
Question 3
There can be only one <body> element in a document.
1 point
True
False
4.
Question 4
Which two visual elements appear in the <head> section of the HTML?
1 point
title and h1
True
False
6.
Question 6
HTML5 headings come in how many different rankings?
1 point
6
7.
Question 7
All HTML elements can have attributes.
1 point
True
False
8.
Question 8
Which special entity would you use to insert an extra blank space (not blank line) into your
webpage?
1 point
&space;
©
 
<br>
<space>;
9.
Question 9
Which element creates a bulleted list?
1 point
li
ul
bl
ol
10.
Question 10
You can add comments to your HTML source by using the following syntax:
1 point
main
footer
nav
header
12.
Question 12
Which semantic tag specifies independent, self-contained content?
1 point
main
section
article
summary
13.
Question 13
What is the correct HTML for inserting an image?
1 point
source
title
alt
desc
15.
Question 15
The img tag has how many required attributes to display an accessible image?
1 point
3
16.
Question 16
It is better to skip the alt attribute altogether than include an empty alt attribute (alt = “”).
1 point
True
False
17.
Question 17
A screen reader will automatically provide a visual description of emojis.
1 point
True
False
18.
Question 18
Which of the following are sources that were recommended in the Finding Usable Materials reading?
(Note, you must select all correct answers to get full credit)
1 point
Freepik
Openverse
Pexels
Everypixel
19.
Question 19
What is a potential issue when using both a height and width attribute on an image?
1 point
It is incorrect to include a height and a width, you can only include one.
It is incorrect to include a height or a width, you should never include size as an attribute.
The image may appear skewed if the change in the height isn’t proportional to the change in the
width
20.
Question 20
Which attribute on an <a> element specifies whether a hyperlink should be opened in the same
window or a new one?
1 point
window
target
src
href
21.
Question 21
You can create an on-page link by first setting which attribute on the element you wish to link to?
1 point
href
id
class
src
22.
Question 22
All links should be in the <nav> element.
1 point
True
False
23.
Question 23
The line break element requires only an opening tag and must not have a closing tag.
1 point
True
False
24.
Question 24
What is the lowest level HTML heading element?
1 point
h1
h4
h5
h6
25.
Question 25
Which attribute references the location of new content in an anchor tag?
1 point
http
href
dest
src
26.
Question 26
A local link (a link to a page within the same website) is specified with a relative URL, i.e without any
"https://www" at the front.
1 point
True
False
27.
Question 27
A relative URL can link to which of the following:
1 point
True
False
9.
Question 9
Which element creates a numbered list?
1 point
li
ul
bl
ol
5.
Question 15
It is good practice to start all of your alt text with “Image of a …” followed by a description.
1 point
True
False
16.
Question 16
When setting an alt attribute for a non-essential image you should:
1 point
True
False
21.
Question 21
The anchor element <a> can create hyperlinks to different parts of the same HTML document.
1 point
True
False
Question 26
An absolute reference includes the URL protocol in the href.
1 point
True
False
7.
Question 7
Attributes consist of a name and a value connected by which symbol(s)?
1 point
“”
;
11.
Question 11
Which semantic tag is used to identify a section of the page that links to other pages or to parts
within the page?
1 point
main
nav
footer
header
21.
Question 21
You can create an on-page link by first setting which attribute on the element you wish to link to?
1 point
id
href
class
src
24.
Question 24
When deciding between using an h2 heading or an h3 heading you should base your decision on
how big you want the text to be. You may need to review earlier Week 1 material about HTML5
Tags.
1 point
True
False
26.
Question 26
A relative reference includes the URL protocol in the href.
1 point
True
False