You are on page 1of 7

HYPERLINKS

WHAT IS A HYPERLINK?
Hyperlink is an electronic link providing direct access from one
distinctively marked place in a hypertext document to another in the same
or a different document. Links can point to other web pages, web sites,
graphics, files, sounds, e-mail addresses, and other locations on the same
web page. It may be represented by a colored text with an underline or
with an image.
TYPES OF HYPERLINKS
HYPERLINKS
TYPES DEFINITION
uses a word or phrase to take visitors to another page, file or
TEXT
document

IMAGE uses an image to take visitors to another page, file or document

allows visitors to send an e-mail message to the displayed e-mail


E-MAIL
address
HOW TO CREATE A HYPERLINK?
The area from which the hyperlink can be activated is called
anchor. An anchor can be either the origin or the target end of a
hyperlink. Anchors can be made thru the container tag <a> </a>
and setting the value of the attribute href as the target destination
page.
<a> </a>
ATTRIBUTES DEFINITION VALUES

URL
href specifies the destination address of the link
file path

_blank
_self
target defines where the linked document will be opened
_parent
_top

name defines an internal bookmark of the page any string

title specifies extra information about an element any string


TARGET ATTRIBUTE VALUES
VALUES DEFINITION

_blank opens the linked document in a new window or tab

opens the linked document in the same window or tab as it was


_self
clicked (this is default)

_parent opens the linked document in the parent frame

_top opens the linked document in the full body of the window

You might also like