Anda di halaman 1dari 13


p    p
2 A hyperlink (or link) is a word, group of words, or image
that you can click on to jump to a new document or a new
section within the current document.
2 When you move the cursor over a link in a Web page, the
arrow will turn into a little hand.

2 ½estination
is the file to be opened,
2 Label
is the portion in the page the user selects, and
2 Target
is the location where the file opens.
2 Ôelative path
2 If a linked file or image is in the same folder as the hypertext
link then only the file name needs to be specified.
2 Absolute path
2 indicate the names of the drive and/or the folders that specify
where the linked file is located.
2 An anchor is a piece of text which marks the beginning
and/or the end of a hypertext link.
2 The <a> tag can be used in two ways:
2 To create a link to another document, by using the href attribute
2 To create a bookmark inside a document, by using the name

2 uÔ  (uypertext erence)
<a =´www.letran.eduµ>My school</a>

this is a sample of a link

<a href="">My school</a>


2 Target
2 specifies where to open the linked document.

<a 3 3 >My school</a>


2 -ame
2 specifies the name of an anchor.
2 the name attribute is used to create a bookmark inside an
uTML document.

<a href=´#topµ>Go to top</a>

<a name=´topµ>Welcome to My uome Page</a>

2 mailto:

2 The mailto is a quick way to add the facility of receiving

feedback from visitor on your web site.
2 Creates a link which when clicked by the visitor it launches
their email program with a new email message window. The
visitor could then formulate the email message and send it off to

- 3   assumes that the visitor has configured an email

client (say, Outlook xpress) to send emails.

<a href=´
3 jeng_ventus@yahoo.comµ> mail me</a>
å   mail me


<a href=" subject=eedback for

Web development studentsbody=The Tips and Tricks section is
great"> mail me</a>
å   mail me
]sing the bare form of
the mailto:

]sing the complex

form of the mailto:
<a href=" subject=Sample of using
mailtobody=-ow i know
3     "> mail
<a href="mailto: subject=Check this out check out this link
http:\\"> Send this page to a friend</a>