Tech News

Tech Business News

  • Home
  • Technology
  • Business
  • News
    • Technology News
    • Local Tech News
    • World Tech News
    • General News
    • News Stories
  • Media Releases
    • Tech Media Releases
    • General Media Releases
  • Advertisers
    • Advertiser Content
    • Promoted Content
    • Sponsored Whitepapers
    • Advertising Options
  • Cyber
  • Reports
  • People
  • Science
  • Articles
    • Opinion
    • Digital Marketing
    • Gaming
    • Guest Publishers
  • About
    • Tech Business News
    • News Contributions -Submit
    • Journalist Application
    • Contact Us
Reading: HTML Hyperlink Codes
Share
Font ResizerAa
Tech Business NewsTech Business News
  • Home
  • Technology News
  • Business News
  • News Stories
  • General News
  • World News
  • Media Releases
Search
  • News
    • Technology News
    • Business News
    • Local News
    • News Stories
    • General News
    • World News
    • Global News
  • Media Releases
    • Tech Media Releases
    • General Press
  • Categories
    • Crypto News
    • Cyber
    • Digital Marketing
    • Education
    • Gadgets
    • Technology
    • Guest Publishers
    • IT Security
    • People In Technology
    • Reports
    • Science
    • Software
    • Stock Market
  • Promoted Content
    • Advertisers
    • Promoted
    • Sponsored Whitepapers
  • Contact & About
    • Contact Information
    • About Tech Business News
    • News Contributions & Submissions
Follow US
© 2022 Tech Business News- Australian Technology News. All Rights Reserved.
Tech Business News > General Tech > HTML Hyperlink Codes
General Tech

HTML Hyperlink Codes

Darren Pesen
Last updated: January 16, 2024 4:00 am
Darren Pesen
Share
SHARE

Mastering Hyperlinks in HTML: A Comprehensive Guide to Five Different Types of basic HTML Hyperlink Codes for websites blogs and SEO

Contents
Basic Hyperlink CodeSEO – Hyperlink CodesHTML- Markdown Code For HyperlinksWhen Did Hyperlinks First Appear On The Internet?Summary Conclusion:

Hyperlinks play a crucial role in web development, allowing users to navigate seamlessly between different pages and resources on the internet. In HTML (Hypertext Markup Language), creating effective and well-structured hyperlinks is essential for building a user-friendly and interconnected web experience.

Basic Hyperlink Code

The following Codes are used in the body of the web page.

  1. Basic HTML Hyperlink:

The most fundamental type of hyperlink in HTML is the anchor element <a>. To create a basic hyperlink, use the following structure:

<a href="https://www.example.com">Visit Example.com</a>

In this example, the href attribute specifies the destination URL, and the anchor text “Visit Example.com” is what the user clicks on.

  1. Relative Path Hyperlink:

When linking to a page within the same website, you can use a relative path instead of the complete URL. This is particularly useful when restructuring or migrating websites. Here’s an example:

<a href="/about.html">About Us</a>

In this case, the hyperlink points to an “about.html” page within the same website.

  1. Linking to Email Addresses:

To create a hyperlink that opens the default email client with a pre-filled email address, use the mailto: scheme:

<a href="mailto:info@example.com">Send Email</a>

Users clicking on this link will have their email client opened with the recipient field pre-filled with “info@example.com.”

  1. Linking to Other Files (Downloads):

If you want users to download a file when they click a link, use the download attribute:

<a href="files/document.pdf" download>Download Document</a>

The download attribute prompts users to download the linked file rather than navigating to it.

  1. Opening Links in a New Tab/Window:

To make a hyperlink open in a new browser tab or window, use the target="_blank" attribute:

<a href="https://www.example.com" target="_blank">Visit Example.com</a>

This ensures that the linked page opens in a new tab without replacing the current one.

SEO – Hyperlink Codes

When it comes to SEO, hyperlink code plays a crucial role in optimizing a website for search engines. Here are some examples of hyperlink code that can be beneficial for SEO:

  1. Image Link:htmlCopy <a href="https://www.example.com" title="Visit Example"> <img src="image.jpg" alt="Description of the image"> </a>

    This example shows an image within a link. Make sure to use descriptive alt text for accessibility and SEO purposes.
  2. Open Link in a New Tab: <a href="https://www.example.com" title="Visit Example" target="_blank">Example Website</a>


    The target="_blank" attribute opens the link in a new browser tab or window.

  3. Nofollow Link: <a href="https://www.example.com" title="Visit Example" rel="nofollow">Example Website</a>


    Adding rel="nofollow" tells search engines not to follow the link, which can be useful for avoiding passing authority to external links.

  4. Anchor Link within the Same Page: <a href="#section2" title="Jump to Section 2">Go to Section 2</a>


    This type of link is beneficial for improving user experience and can help search engines understand the structure of your content.

  5. Link with Title Attribute: <a href="https://www.example.com" title="Visit Example Website">Click here</a>


    The title attribute provides additional information about the link’s destination.
  6. Link with a Descriptive URL:<a href="https://www.example.com/important-page" title="Visit Important Page">Important Page</a>


    Use a descriptive URL to help users and search engines understand the content of the linked page.

  7. Breadcrumb Navigation:htmlCopy code<nav> <a href="https://www.example.com" title="Home">Home</a> &raquo; <a href="https://www.example.com/category" title="Category">Category</a> &raquo; <a href="https://www.example.com/category/page" title="Page">Page</a> </nav>

    Breadcrumb links can improve site navigation and provide context to search engines.

Remember that creating natural, user-friendly links is essential for SEO. Use relevant anchor text, follow best practices for accessibility, and structure your links to enhance the overall user experience.

HTML- Markdown Code For Hyperlinks

  • Creating links in Markdown is straightforward. Simply enclose the link text in square brackets and the URL in parentheses.
  • Example: code[Visit Example.com](https://www.example.com)

When Did Hyperlinks First Appear On The Internet?

The first widely used open protocol that included hyperlinks from any Internet site to any other Internet site was the Gopher protocol from 1991. It was soon eclipsed by HTML after the 1993 release of the Mosaic browser (which could handle Gopher links as well as HTML links).

Summary Conclusion:

  • Mastering the various types of HTML codes for hyperlinks is essential for creating a seamless and user-friendly web experience.
  • By understanding the nuances of basic, relative, email, file download, and target attributes, web developers can enhance navigation and engagement on their websites.
  • Experiment with these techniques to create effective and dynamic hyperlinks that cater to the specific needs of your web projects.
ByDarren Pesen
Darren is a Agtech enthusiast and former farming electrical engineer. He also has an interest in online business marketing.
Previous Article OPENAI QUIETLY DELETES BAN ON USING CHATGPT FOR “MILITARY AND WARFARE” OpenAI Allows ChatGPT For Military And Warfare Applications Easing Restrictions
Next Article Australia's Public Sector Being Reshaped by Digital Transformation: 85% of Workers Impacted by Tech Initiative Australia’s Public Sector Reshaped With 85% of Workers Impacted By Tech Initiatives
Leave a Comment

Leave a Reply Cancel reply

You must be logged in to post a comment.

Basic HTML Hyperlink Code

Tech Articles

Gmail AI is reading your emails — here is how to stop it

Your Gmail Account May Be Feeding Google’s AI—Here’s What You Need to Know

Your Gmail account may be contributing to Google’s AI systems…

January 26, 2026
How Telstra Held Back Australia’s Internet Speed — And What It Means for Users

How Telstra Held Back Australia’s Internet Speed — And What It Means for Users

How Telstra Held Back Australia’s Internet Speed — And What…

January 21, 2026

How the World’s Data Centres Are Quietly Burning the Planet

Data centres are burning the planet, with a growing environmental…

March 11, 2026

Recent News

Technological milestones from 2000 to 2024 - 25 years
General Tech

List Of Significant Technological Milestones From 2000 to 2024

4 Min Read
Tech News - Document Translation Services in International Business
General Tech

Unlocking Global Potential: The Vital Role of Document Translation Services in International Business

10 Min Read
IDIOT Syndrome
General Tech

The Rapid Increase Of Internet Use Contributing to IDIOT Syndrome

4 Min Read
DCS
General Tech

Claroty discloses three severe vulnerabilities in Honeywell’s Experion PKS

8 Min Read
Tech News

Tech Business News

In 2026, technology news is shaping business outcomes faster than ever—driven by AI adoption, rising cyber risk, cloud modernisation, data regulation, and constant platform change.


Tech News keeps Australian organisations and industry professionals informed with timely reporting and practical coverage across AI, cybersecurity, cloud, enterprise IT, startups, science, people and business, plus major world and local news impacting the tech sector.


Tech Business News publishes news and analysis designed to be clear, relevant, and easy to act on. It supports the industry with technology news reports, whitepaper publishing services, and a range of media, advertising and publishing options 

About

About Us 
Contact Us 
Privacy Policy
Copyright Policy
Terms & Conditions

April, 16, 2026

Contact

Tech Business News
Melbourne, Australia
Werribee 3030
Phone: +61 431401041

Hours : Monday to Friday, 9am 530-pm.

Tech News

© Copyright Tech Business News 

Latest Australian Tech News – 2026

Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?