Module 8 HTML Hyperlinks
Module 8 HTML Hyperlinks
Department of Education
Region III
Division of City Schools
OLONGAPO CITY NATIONAL HIGH SCHOOL
Olongapo City
Quarter 4: Computer Science 1 for Grade 7 ICT and STE Program (Week 5)
Module 12: HTML Links
Learning Objective: To learn how to create HTML syntax.
Links are found in nearly all web pages. Links allow users to click their way from page to page.
By default, the linked page will be displayed in the current browser window. To change this, you must specify another target for the link.
Both examples above are using an absolute URL (a full web address) in the href attribute.
A local link (a link to a page within the same website) is specified with a relative URL (without the "https://www" part):
Syntax: Output:
Use mailto: inside the href attribute to create a link that opens the user's email program (to let them send a new email):
Link Titles
The title attribute specifies extra information about an element. The information is most often shown as a tooltip text when the mouse
moves over the element.
Syntax:
Output:
4. ___________ Use this attribute to define where to open the linked document