Visit TEA Learn website
HTML Links Examples HTML Examples
1. Relative Links
You can create links to pages within your own website using relative paths. For example:
About Us2. Linking to Email Addresses
To create a link that opens the user's email client to send an email, use the
Contact Usmailto:
scheme:3. Linking to Files
You can link to files on your website or other resources like PDFs, images, and more:
Download PDF4. Linking to Specific Parts of a Page (Anchors)
You can link to specific sections of a page by using anchors and the
Jump to Section 2#
symbol:5. Opening Links in a New Tab/Window
Add the
Open TEA Learn in a new tabtarget="_blank"
attribute to open links in a new tab or window:6. Linking to Phone Numbers
For mobile devices, you can create clickable phone number links:
Call Us7. Linking to Social Media Profiles
Create links to your social media profiles:
Ben Onuorah on Facebook8. Linking to Other Websites
You can link to any website or online resource using the href attribute:
Ben Onuorah9 Linking to Images
You can also use images as links by wrapping an element in an element:
No Comment yet!