Q3 Lesson 6 HTML Link
Q3 Lesson 6 HTML Link
Hyperlink/Hypertext
A hyperlink, or simply a link, is a digital reference
to data that the user can follow or be guided to
by clicking or tapping. A hyperlink points to a
whole document or a specific element within a
document.
Syntax
The HTML <a> tag defines a hyperlink. It has the following syntax:
<a href="URL">link text</a>
Where:
The <a> tag is used to create an anchor to link from.
The href attribute is used to address the document to link to
and the words between the open and close of the anchor tag will be displayed as a
hyperlink.
The most important attribute of the <a> element is the
href attribute, which indicates the link's destination.
The link text is the part that will be visible to the reader.
Clicking on the link text, will send the reader to the
specified URL address.
Example
This example shows how to create a link to W3Schools.com:
Example
Example:
<a href=“Filename of activity 1"> Title of the your article </a>
Example:
<a href="Activity 3"><img src="desert.jpg" width="75“
height="55" alt="valleys" align="left"></a>
c. Apply a hyperlink on the second sentence of your file to your
Activity 5
d. Apply a hyperlink on the second image to your Activity 7
e. Apply a hyperlink on the third sentence of your file to your
Activity 8
f. Apply a hyperlink on the third image to your Activity 9