This page demonstrates how to create a basic hyperlink. Also known simply as "links", hyperlinks are one of the most common elements on the web.
But, let's not get too carried away. For a basic, static link to another web page, using HTML is the best way to do it.
HTML links are created using the HTML
<a> tag. The
<a> tag stands for "anchor" tag. To create a link, you need to fill out the
href attribute with the destination URL (i.e. the address of the web page that you want the link to point to). You also need to specify the text you'd like to be hyperlinked, and close the tag.
As you can see, the above link goes to
https://www.zappyhost.com (this is specified with the
href attribute). The "anchor text" is "Cheap Domain Names". This is the text that will be linked.
You can place links anywhere within a block of text. Like this:
The quickest way to create a website is with a website builder. Includes free hosting, images, templates, and more!
The above examples represent the most common usage of HTML links. There are many variations on creating links for your website. Check out the various link code below: