You are on page 1of 6

WAYS TO ADD HYPERLINK

1. Hyperlink to another page


2. Hyperlink to another website
3. Picture as a link
4. Hyperlink to another website in a new window
HOW TO CREATE HYPERLINKS

<A> Anchors (Hyperlinks)


Hypertext links are created on web pages using the <A>
anchor tag with the HREF (Hypertext Reference)
attribute.
Hyperlinks connect your web pages together and point to
other web documents (build your website)
HOW DO I LINK TO ANOTHER PAGE

use a html hyper reference like this:

<a href="nextpage.html">Click here!</a>


(this is called a relative url)
HOW DO I LINK TO ANOTHER WEBSITE

use a html hyper reference like the one above but use the
other websites full address:

<a href=“https://www.yahoo.com”>Yahoo</a>
(this is called a absolute url)
HOW DO I USE A PICTURE AS A LINK

to use an image as a link we just wrap the hyperlink


around the image tag like so..

<a href="index.html"><img src="picture.gif"></a>


HOW DO I LINK TO ANOTHER WEBSITE IN A NEW WINDOW

use target="_blank" in your html hyper reference

<a href=“https://funbrain.com” target=“_blank”>FunBrain</a>

You might also like