Lesson 4: Hyperlinks (Quiz)
An internal hyperlink is a link you can use to jump to another: 1. section on the same Web page 2. Web browser 3. Website 4. page on the Website
1
Consider the following anchor element. <a href="http://www.ucorp.biz"> uCorp </a> In this example, to what does "uCorp" refer? 1. The page text that will be affected by the anchor element 2. The page text that will display when you access the destination Web page via the anchor element 3. The section of your Web page to which the destination page is linked 4. The target of your hyperlink
1
In order to create an external hyperlink, you must determine: 1. the absolute URL, including the protocol, indicator, for the Web page to which you want to link. 2. the relative URL, including the protocol indicator, for the Web page to which you want to link. 3. the partial URL, including the protocol indicator, for the Web page to which you want to link. 4. the absolute URL, excluding the protocol indicator, for the Web page to which you want to link.
1
What is the term for a hyperlink you create to link one point to another in the same Web page? 1. Internal hyperlink 2. Image hyperlink 3. Local hyperlink 4. External hyperlink
1
What occurs when a referenced page is moved or deleted, or if page content is changed and all anchors are renamed or lost? 1. All hyperlinks that link to that page become invalid. 2. The text or images to which the hyperlinks refer disappear. 3. All hyperlinks that link to that page continue to function. 4. All successive Web page text becomes a hyperlink.
1
When you create an internal hyperlink with the anchor element, what occurs if you omit the has (#) from the href attribute? 1. The browser will look for an external file by the name specified in the href attribute. 2. The browser will look for an internal file by the name specified in the href attribute. 3. The internal hyperlink will target the Web site home page rather than the area specified in the href attribute. 4. The Web page containing the internal hyperlink will not render.
1
When you create an internal hyperlink with the anchor element, what symbol must you use in the href attribute to tell the browser to look for a target within the current document? 1. The hash (#) 2. The slash (/) 3. The asterisk (*) 4. The ampersand (&)
1
When you create an internal hyperlink, you create the link that points to the bookmark using the anchor tag with which attribute? 1. The href attribute 2. The img attribute 3. The id attribute 4. The link attribute
1
Which of the following assumes the current document's path so that all references are made from the document's current directory? 1. Partial URL 2. Targeted URL 3. Fully qualified URL 4. Absolute URL
1
You should create external hyperlinks only after: 1. obtaining permission from the owner of the site to which you want to link. 2. determining the directory structure of your Website on your local system. 3. ensuring that your Website directory structure will persist on the Web server in which it resides. 4. identifying the internal bookmarks that the links will reference.
1
Consider the following anchor element: <a href="http://www.uCorp.biz"> uCorp </a> In this example, to what does "http://www.uCorp.biz" refer? 1. The section of your Web page to which the destination page is linked 2. The target of the hyperlink 3. The page text that will be affected by the anchor element 4. The page text that will display when you access the destination Web page via the anchor element
2
What is the default appearance of hyperlinks in the browser? 1. Italic and underlined 2. Blue and underlined 3. Purple and underlined 4. Bold and italic
2
When developing your own Web pages, when should you use an internal hyperlink? 1. To create a link from a graphic image to a separate file on the internet 2. To reference another area within the same Web page 3. To link a Web page file to a separate file on the Internet 4. To link a file on your local system to another file on your local system
2
When you create an internal hyperlink with the anchor element, which attribute should you use to define the area of the Web page to which the hyperlink will link? 1. The link attribute 2. The id attribute 3. The img attribute 4. The href attribute
2
Which of the following do you use to create a hyperlink in an HTML document? 1. The <img> tag 2. The <a> element 3. The <html> tag 4. The <hr> element
2
Which of the following examples uses the correct syntax for the anchor element? 1. <a href="http://www.ucorp.biz"/>uCorp 2. <a href="http://www.ucorp.biz"/> uCorp</a> 3. <a href="http://www.ucorp.biz" uCorp</a> 4. <a href="http://www.ucorp.biz>uCorp</a>
2
Which of the following should you use when you develop your own Web pages and want to link them to form a site? 1. Image hyperlinks 2. Local hyperlinks 3. External hyperlinks 4. Internal hyperlinks
2
By default, what occurs when a user clicks a hyperlink in a browser? 1. The destination Web site's home page will appear. 2. A new browser window will open displaying the specified destination. 3. The link's specified destination will appear. 4. The destination Web site's default page will appear.
3
What occurs when you surround an image tag with opening and closing anchor tags? 1. The graphic image defined by the image tag will not render. 2. The Web page containing the graphic image defined by the image tag will not render. 3. The graphic image defined by the image tag will become a hyperlink. 4. The graphic image defined by the image tag will become the destination for a hyperlink.
3
Which of the following should you use on your Web pages when you want to reference pages on other Websites? 1. Internal hyperlinks 2. Local hyperlinks 3. External hyperlinks 4. Image hyperlinks
3
An absolute URL: 1. assumes the current document's path so that all references are made from the document's current directory. 2. assumes the current document's path so that all references are made from the top of the site's hierarchical directory structure. 3. contains a full path to a resource, excluding the protocol indicator. 4. contains a full path to a resource, including the protocol indicator.
4
Consider the following HTML code: <a href="http://www.ucorp.biz/internal.html/#First"> A-D </a> What does the internal hyperlink in this example do? 1. It bookmarks the image hyperlink on your Web page. 2. It links to the home page of a separate file on the Internet. 3. It links to an internal anchor in an internal file. 4. It links to an internal anchor in an external file.
4
When you create a hyperlink with the anchor element, which of the following should you use to specify the target of the link? 1. The alt attribute 2. The id attribute 3. The src attribute 4. The href attribute
4
When you upload your Website to a Web server, the file references can remain unchanged as long as: 1. you upload all the files in one operation. 2. you used only local hyperlinks in your Web pages. 3. you used no internal hyperlinks in your Web pages. 4. your directory structure persists.
4
Which term describes a hyperlink that links one file on your hard drive to another file on your hard drive? 1. Image hyperlink 2. Internal hyperlink 3. External hyperlink 4. Local hyperlink
4
Which term describes a hyperlink you create from a file on your system to separate file on the Internet? 1. Image hyperlink 2. Internal hyperlink 3. Local hyperlink 4. External hyperlink
4
You can use automatic link-checking software to identify invalid hyperlinks. If you find invalid links, what should you do next? 1. Run the link-checking software in Fix Invalid Links mode. 2. Use the link-checking software to re-create all links in your code. 3. Re-create the page from scratch to ensure that all code is fresh and valid. 4. Manually update the code to delete or modify invalid links.
4