Deck 6: Inserting and Working With Links
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/74
Play
Full screen (f)
Deck 6: Inserting and Working With Links
1
You can create a link on any text on a web page.
True
2
By default a block-level element is rendered with a line break before and after.
True
3
While it's common to change font color for links using pseudo-classes, you can change other element styles as well, including background.
True
4
Mailto links are widely used.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
5
The a:active style rule must follow the a:visited style rule to be effective.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
6
A pseudo-class and a class can be used interchangeably.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
7
To make your code easier to read, you can use a link shortener._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
8
To change the format of a link in reaction to a user's interaction with the link, you use a pseudo-element._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
9
While several protocols are in use on the Internet, the web uses only http and https.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
10
To change an element from a block-level element to an inline-element, you use the CSS display property._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
11
To reference a hash link with the href attribute of the an element, you simply precede it with a pound sign._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
12
The method for clearing browsing history varies among browsers but is commonly listed under privacy or safety settings.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
13
Although you can link to documents in almost any format from your web pages, it's important to keep in mind that Java documents are the only ones that your users are guaranteed to be able to access._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
14
The a:active style rule must follow the a:hover style rule to be effective._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
15
To provide more navigation options, it's good practice to include a(n) skip link at the top of each web page, which targets a hash link at the start of the main page content and allows users to bypass navigation._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
16
When you enter a URI, you're creating a(n) relative link, which is the full and complete address for the target document on the web._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
17
By default, a link opens a new web page in the same window and tab as the home page._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
18
Web pages on a small website never share the same folder on a web server.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
19
To create a link, you enclose the text you want to serve as a link within an a element using the tag pair.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
20
The text-align property affects the alignment of text only._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
21
By convention, an unclicked link is ____.
A) blue
B) red
C) purple
D) yellow
A) blue
B) red
C) purple
D) yellow
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
22
If the URL you paste contains the & symbol, replace each occurrence with ____ to ensure your code validates
A) & amd ;
B) & and ;
C) & amp ;
D) &anp;
A) & amd ;
B) & and ;
C) & amp ;
D) &anp;
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
23
You can combine a relative or absolute link with a hash link to link to a specific element in a different document.Simply enter the URI or filename for the target document, add a(n) ____ to the end, then add the anchor name.
A) pound sign
B) exclamation point
C) question mark
D) percentage sign
A) pound sign
B) exclamation point
C) question mark
D) percentage sign
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
24
A ____ is a categorization of a Web page element, but it is based on a relationship or condition of the element at a given moment, rather than on a static property value.
A) pseudo-category
B) pseudo-class
C) parent-category
D) parent-class
A) pseudo-category
B) pseudo-class
C) parent-category
D) parent-class
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
25
By convention, a link to a web page or document that a user has already viewed is ____.
A) blue
B) red
C) purple
D) yellow
A) blue
B) red
C) purple
D) yellow
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
27
As part of the URL, the ____ is the sequence of folders in which the target document is stored on the server.
A) path
B) scheme
C) style
D) server
A) path
B) scheme
C) style
D) server
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
28
Virtually every website includes a set of links for moving between web pages in the site.This design element is known as a ____ bar.
A) navigation
B) link
C) help
D) home
A) navigation
B) link
C) help
D) home
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
29
The :focus and ____ can be used interchangeably.
A) :link
B) :visited
C) :hover
D) :active
A) :link
B) :visited
C) :hover
D) :active
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
30
When you enter a URL, you're creating a(n) ____ link, which is the full and complete address for the target document on the web.
A) absolute
B) relative
C) parent
D) child
A) absolute
B) relative
C) parent
D) child
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
31
Every web page and other document available on the web can be referred to using a uniform resource locator (URL), also known as a web ____, which is a standard format for specifying how and where to access a resource on the Internet.
A) setting
B) site
C) address
D) number
A) setting
B) site
C) address
D) number
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
32
You use the href attribute to specify the name of the web page or other document to link to, which is known as the ____ document.
A) source
B) default
C) recipient
D) target
A) source
B) default
C) recipient
D) target
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
33
When a link is activated to send an e-mail, it's up to the user agent to identify which program should complete the request.This program is known as the ____ mail client.
A) default
B) standard
C) basic
D) registered
A) default
B) standard
C) basic
D) registered
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
34
A link that creates a new email to a specified recipient starts with ______.
A) sendto:
B) mailto:
C) directto:
D) textto:
A) sendto:
B) mailto:
C) directto:
D) textto:
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
35
You create a hash link by assigning unique names to elements in your web page using the HTML ____ attribute.
A) object
B) class
C) type
D) id
A) object
B) class
C) type
D) id
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
36
The a:hover style rule must follow the ____ style rule.
A) a:link
B) a:visited
C) Both A and B.
D) Neither A nor B.
A) a:link
B) a:visited
C) Both A and B.
D) Neither A nor B.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
37
A relative link, gives only ____necessary to locate the target document based on the location of the current web page.
A) the path
B) the filename information
C) Both A and B.
D) Neither A nor B.
A) the path
B) the filename information
C) Both A and B.
D) Neither A nor B.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
38
As part of the URL, the ____ name, such as course.com or mail.Google.com, identifies the general location of the target document on the web.
A) scheme
B) server
C) style
D) path
A) scheme
B) server
C) style
D) path
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
39
By convention, a link that a user is in the process of clicking is ____.
A) blue
B) red
C) purple
D) yellow
A) blue
B) red
C) purple
D) yellow
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
40
As part of the URL, the ____ is the way that computers ask for and communicate about the requested document.
A) style
B) setting
C) theme
D) scheme
A) style
B) setting
C) theme
D) scheme
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
41

-Referring to the figure above, the closing tag of the href attribute is ____.
A) </div>
B) </a>
C) P1P1 _ E
D) </h2>

-Referring to the figure above, the closing tag of the href attribute is ____.
A) </div>
B) </a>
C) P1P1 _ E
D) </h2>
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
42
Figure F-1: A uniform resource locator (URL)

Referring to the figure above, the third section showing "mail/?shva=1#inbox" is the ____.
A) scheme
B) server name
C) path
D) family

Referring to the figure above, the third section showing "mail/?shva=1#inbox" is the ____.
A) scheme
B) server name
C) path
D) family
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
43
Figure F-1: A uniform resource locator (URL)

Referring to the figure above, the second section showing "mail.google.com" is the ____.
A) scheme
B) server name
C) path
D) family

Referring to the figure above, the second section showing "mail.google.com" is the ____.
A) scheme
B) server name
C) path
D) family
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
44
A(n) ________________, more commonly known as a link, is text or another web page element that users can select to open another document containing related content.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
45
Shayla wants links in the____ state, meaning they have not been clicked, to be blue.
A) a:link
B) a:visited
C) a:active
D) a:new
A) a:link
B) a:visited
C) a:active
D) a:new
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
46
Shayla knows that previously viewed links are in the ____ state, and she sets their color to yellow.
A) a:link
B) a:visited
C) a:active
D) a:hover
A) a:link
B) a:visited
C) a:active
D) a:hover
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
47
The ____ format has become an unofficial web standard for documents that require a specific printed format, such as forms that must be filled out by hand and/or signed, and you can rely on most of your users having the capability to view and print this format.
A) DOC
B) DOCX
C) TXT
D) PDF
A) DOC
B) DOCX
C) TXT
D) PDF
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
48
Figure F-1: A uniform resource locator (URL)

Referring to the figure above, the first section showing "https:" is the ____.
A) scheme
B) server name
C) path
D) family

Referring to the figure above, the first section showing "https:" is the ____.
A) scheme
B) server name
C) path
D) family
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
49
CJ is concerned that once users are at the end of the article, they might have difficulty navigating to the top of the page.To solve this problem, CJ assigns a(n) _____ to the page's main heading and then creates a link to that heading at the end of each article.
A) hash tag
B) short link
C) ID value
D) _self tag
A) hash tag
B) short link
C) ID value
D) _self tag
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
50

Referring to the figure above, the link that has been visited is ____.
A) Home
B) About Us
C) Reservations
D) Local Weather

Referring to the figure above, the link that has been visited is ____.
A) Home
B) About Us
C) Reservations
D) Local Weather
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
51

Referring to the figure above,the following entries are unlinked text ____.
A) Home and About Us
B) Local Weather and Directions
C) Both A and B.
D) Neither A nor B.

Referring to the figure above,the following entries are unlinked text ____.
A) Home and About Us
B) Local Weather and Directions
C) Both A and B.
D) Neither A nor B.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
52
Although you can link to documents in almost any format from your web pages, it's important to keep in mind that ____ documents are the only ones that your users are guaranteed to be able to access
A) HTTP
B) FTP
C) CSS
D) HTML
A) HTTP
B) FTP
C) CSS
D) HTML
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
53

Referring to the figure above, a linked text entry is ____.
A) About Us
B) Rooms
C) Reservations
D) All of the above.

Referring to the figure above, a linked text entry is ____.
A) About Us
B) Rooms
C) Reservations
D) All of the above.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
54
Use the ____ value to specify that a linked web page open in a new tab.
A) _self
B) _new
C) _tab
D) _blank
A) _self
B) _new
C) _tab
D) _blank
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
55

Referring to the figure above, the href attribute is the name of a(n) ____ file.
A) Microsoft Word
B) PDF
C) Text
D) HTML

Referring to the figure above, the href attribute is the name of a(n) ____ file.
A) Microsoft Word
B) PDF
C) Text
D) HTML
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
56
CJ wants to link to articles in his website.He has assigned specific values for each ID attribute.To link to that ID attribute, CJ must use a(n) _____ before the ID value in his href statement.
A) *
B) #
C) !
D) <
A) *
B) #
C) !
D) <
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
57

Referring to the figure above, the entries under the main title for Home, About Us, and Rooms are part of the ____ bar.
A) tool
B) status
C) nav
D) scroll

Referring to the figure above, the entries under the main title for Home, About Us, and Rooms are part of the ____ bar.
A) tool
B) status
C) nav
D) scroll
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
58

In the figure above, the text "Skip navigation" is considered to be a(n) ________________ link.

In the figure above, the text "Skip navigation" is considered to be a(n) ________________ link.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
59
CJ knows that some of the visitors who frequent his website will use screen readers.To allow these users to bypass the navigation, he will use a skip link, He wants to position the skip link on the right but first he must use the ____ property.
A) display
B) right
C) left
D) nav
A) display
B) right
C) left
D) nav
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
60

Referring to the figure above, the code shows ____ links.
A) relative
B) absolute
C) parent
D) child

Referring to the figure above, the code shows ____ links.
A) relative
B) absolute
C) parent
D) child
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
61
When you want to link to a web page on another web site, you must use a(n) ______ link.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
62
Match each commonly used CSS display property value with the description of how it is rendered.
a. block
b. inline
c. inline-block
d. none
Docment rendered as if element does not exist
a. block
b. inline
c. inline-block
d. none
Docment rendered as if element does not exist
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
63
A(n) _______ is a generated URL that uses especially short domain names and specially crafted paths to represent larger unwieldy links as manageable links.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
64
Briefly define the following terms and include how they are related to each other: URL, web address, scheme, HTTP, HTTPS, server name, and path.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
65
Sometimes it's useful to link to locations within the current web page.Instead of linking to URLs or filenames, you link to named locations, known as ________________, within the current document.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
66
Match each commonly used CSS display property value with the description of how it is rendered.
a. block
b. inline
c. inline-block
d. none
Box occupying the full width of its parent element
a. block
b. inline
c. inline-block
d. none
Box occupying the full width of its parent element
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
67
To make your code easier to read, you can use a link ________________ such as bit.ly or tinyurl.com, which are web-based services that transform large, unwieldy links into manageable URLs.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
68
To create a rollover effect, which changes the appearance of the affected object when the mouse is over it but not selecting it, use the ________________ pseudo-class.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
69
Email ________________ continually explore web pages looking for email addresses that in turn receive spam emails.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
70
Match each commonly used CSS display property value with the description of how it is rendered.
a. block
b. inline
c. inline-block
d. none
Box that does not expand to the full width of its parent
a. block
b. inline
c. inline-block
d. none
Box that does not expand to the full width of its parent
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
71
Match each commonly used CSS display property value with the description of how it is rendered.
a. block
b. inline
c. inline-block
d. none
Content that does not expand to the full width of its parent
a. block
b. inline
c. inline-block
d. none
Content that does not expand to the full width of its parent
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
72
A(n) ________________ consists of three parts: the scheme, the server name, and the path.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
73
You need to clear the ______ to reset the appearance of links to their default :link state.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
74
If communication from your users is important, name two alternatives to using mailto links.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck