How to Create a Hyperlink

How to Create a Hyperlink
Image Credit: goir/iStock/GettyImages

The process used to create hyperlinks varies based on the program used. For example, creating a hyperlink with raw HTML code for a website is much different than creating one in your email manager or document processing program. Regardless, creating the link is typically easy and makes a convenient, clickable piece of text for the reader.

Hyperlinks convert basic text into a link. They serve a number of purposes from referencing and convenience to SEO best practices. Many hyperlinks are placed to reference a source. They are important in academic documents and any text that is quoting or using a source for information. The link credits the source and sends the reader directly to the content referenced.

In other cases, the link is used to highlight text as a convenient means of directing the user to a specific page. It can function as an internal link where the website sends readers to a relevant page within their website or an external link that sends them elsewhere. A common example is a business website that wants readers to contact them when interested in the services. The business will create a hyperlink to their contact page on every other web page to drive those leads through their funnel.

The SEO perspective uses links to pass credibility to specific websites and web pages. Linking out to a website tells the search engines that website is important. The text used in the hyperlink is also weighted to judge the specific content in the exterior website. This helps search engines determine which sites are authoritative for different types of content.

Documents and Email

Creating a hyperlink in Microsoft Word or another word processing program is simple. The process is often similar for spreadsheet programs as well. First, highlight the text you wish to hyperlink. In some programs, this will often trigger an editor window with multiple options for the text.

For example, the editor will offer options for bold and italics or font styles and sizes. It will also offer a hyperlink option that looks like a paperclip. Highlight the text and hover the mouse over the paperclip. It will typically say "Insert Link" while hovering. Click to open the link dialogue box. The link feature is also typically located in the top editing bar on word processing programs.

When the link dialogue box opens, you can copy and paste the link into this space. If you want visitors to use the link without leaving your website or document, choose to open the link in a separate window. This keeps your page active and opens the linked page separately.

Lastly, creating a hyperlink can be done using HTML code. When you use the latter methods, it still creates an HTML code for the link. You simply do not see this code and the HTML is preset by the shortcut controls.

The HTML code for a basic hyperlink is Hyperlink Text to Display. However, you must write this into the HTML code for it to properly function. Writing code into a text block will simply display the text and not the functional link.

If you want the hyperlink to open in a new window, the code is Hyperlink Text to Display. The target="_blank" segment will trigger the link to open in a new tab or window. This works regardless of the link chosen and the text displayed.