Chapter 2 Quiz Flashcards
What tag is used to create a link?
a
The clickable part of the link is placed where?
Between opening and closing a tags.
What does href stand for?
Hypertext reference
What does the href attribute do?
Tells the browser where to go, gives the link for the destination
What is a URL?
A web address
How does a URL of an email link start?
a href=”mailto:example@gmail.com”
How does a URL of an outside website start?
http://
How do you create an image link?
a href=img src=”image.jpg” img a
How do you remove the border that appears around an image link?
border=”0”
How do you get a link to open a new web page?
“target=_blank”
Before you create a link within a web page, what do you need to do first?
You need a named anchor and to link it to the invisible spot it will take you to.
What tag and attribute do you use to create a named anchor?
a name=”name” a
How is the value of the href attribute for a link to a named anchor different from the value of the href attribute for any other link?
It contains the hashtag.
What does the # do?
Tells the browser the destination is on the same page.
In what situation are links within a page useful?
It can give viewers help and navigation in a big, long document so they can easily move around the website.
What are two ways to create a URL?
relative, absolute
What is the difference between an absolute and relative URL?
Absolute takes you back to the root folder in the beginning and starts over, while relative takes as few steps as possible to move to somewhere else.
How do you move up a folder using relative URL’s
../
What does an absolute URL start with?
/