Task 3 – Inserting a Hyperlink
We’re now going to add a Hyperlink to our page that
links to another website
A hyperlink is simply a link to another electronic file. Making a hyperlink to a website is
making a link to a specific HTML file.
<a> is the HTML tag for a hyperlink. It’s worth noting that the default appearance for
hyperlinks in browsers is as follows:
• An unvisited link is underlined and blue
• A visited link is underlined and purple
• An active link is underlined and red
Add the code below to your website
HTML tag for a
hyperlink to a
website
The URL of the page
the link goes to
The wording that
will appear as the
link
The end of
the hyperlink
<a href="http://marvel.com/universe/Spider-Man_(Peter_Parker)/”>Who is he? </a>
Challenge 3 –
Add a Hyperlink to an Image
Now that you have learnt how to make the words into a
hyperlink, your task is to make the image you added earlier
into a hyperlink.
Code your website so that the
user is able to click on your
image and it will take them to a
website that relates to your hero

Web htmlt3

  • 1.
    Task 3 –Inserting a Hyperlink We’re now going to add a Hyperlink to our page that links to another website A hyperlink is simply a link to another electronic file. Making a hyperlink to a website is making a link to a specific HTML file. <a> is the HTML tag for a hyperlink. It’s worth noting that the default appearance for hyperlinks in browsers is as follows: • An unvisited link is underlined and blue • A visited link is underlined and purple • An active link is underlined and red Add the code below to your website HTML tag for a hyperlink to a website The URL of the page the link goes to The wording that will appear as the link The end of the hyperlink <a href="http://marvel.com/universe/Spider-Man_(Peter_Parker)/”>Who is he? </a>
  • 2.
    Challenge 3 – Adda Hyperlink to an Image Now that you have learnt how to make the words into a hyperlink, your task is to make the image you added earlier into a hyperlink. Code your website so that the user is able to click on your image and it will take them to a website that relates to your hero