Chapter 5: Connecting Your Site
URLs with slashes at the end are assumed to be directories
True
What attribute is used with anchor < a > element to specify the name of window that will hold the hyperlinked content
"target" attribute
What line of code creates a successful link to existing bookmark anchor on the same page called "author"
< a href="#author" >the author< /a >
What line of code correctly creates an email link to the "[email protected]" address
<a href="mailto:[email protected]">Send us an email!< /a >
Spammers will use a small program called a spider to collect email addresses from pages. What symbol do spiders look for
@
The anchor tag < a > can be used to
Create links to documents on your website Create a link to a specific location within the current web page Create links to another web site
URL stands for Uniform Resource Locality
False
URLs can be used to identify:
HTML files, Plain text files, Image files
What will this line of code do? < li >< a href="mix_ingredients.html" >Mixing< /a >< /li >
It creates an item in a list that contains a hyperlink
In this example URL, what does /index.php refer to? http://www.example.com/index.php
It identifies the specific page resource
In this example URL, what does the "www.example.com" part refer to? http://www.example.com/index.php
It identifies the target domain name
What will this line of code do? < a href="http://www.example.com/default.html" >Link< /a >
It will lead to the server "www.example.com" find "default.html" in root
What anchor < a > attribute should hold the URL that will be followed when the hyperlink is clicked
The "href" attribute
What advantage does an absolute path have over a relative path
The path to another file does not depend on your current location
In order to link to another page on your web site, you need to know the target page name and:
The path to the target page from your current page location
It is possible to send a user to an external link in a new browser window and keep your site open in the current browser
True
Your web browser can display web pages directly from your local computer without going out on the Internet at all
True
Most designers use what sort of list in their navigation bar
Unordered list
What is true about placing your email address on a web page
You can disguise it from some spiders, but they may eventually figure out your tricks
To force a new browser window to open on every click of a hyperlink, use this "target" name: _____
_blank