Html Flashcards
What is a hyperlink?
A hyperlink is referred to as a link, linking to another Web page or to a section in the same Web page.
Which HTML element is used to create a hyperlink?
The A (anchor) element.
What can be specified as a hyperlink?
A text or an image.
What happens when the mouse is moved over a hyperlink?
The cursor changes into a hand with its index finger pointing towards the content.
What is the purpose of the href attribute in the A element?
Specifies the URL of the Web page to be linked or the value of the name attribute.
What does the hreflang attribute indicate?
Indicates the language of the destination URL.
What does the name attribute specify in the A element?
Specifies the section of the Web page, which is to be linked.
What is the basic syntax to create a hyperlink using the <a> tag?</a>
<a>Link text</a>
Complete the following: The <a> tag must be closed with _______.</a>
</a>
What is an example of a href attribute code?
<a></a>
Provide an example of a simple hyperlink in HTML.
<html><head></head><body><a>Click to view the Aptech Web site</a></body></html>
What does the target attribute of the A element specify?
The location where the linked Web page will open when a link is clicked
What value of the target attribute loads the target URL in a new blank window?
blank
What value of the target attribute loads the target URL in the same window as the current Web page?
_self
What value of the target attribute loads the target URL in the complete area of the window?
_top
Fill in the blank: The target attribute can assign values such as ______, _self, and _top.
blank
True or False: The target attribute only supports a single value.
False