Translate

HTML Link Code – Easily Create HTML Links!

Leave a Comment
The HTML code for a link is simple. It looks like this: <a href="url">Link text</a>. The href attribute specifies the destination of a link.

In HTML, links (also known as "Hyperlinks") are what enables visitors to click through to another web page (or other URL). The visitor usually clicks on linked text or a linked image and that's what triggers the loading of the linked document.

Basic HTML Codes


Link Code to add a Hyperlink to a page:

<a href=“http://www.URL.com/”>Title the visitor sees.</a>

Code example: <a href=http://www.example.com>Example</a>
Hyperlink visitor sees:  Example 

HTML Link Code to add a Image to a page:

<img src=“image name goes here” align=“Use left, right or center”>

Code example: <img src= “house.jpg” align=“center”>

Link Code to add an e-mail address to a page:
Creating an email link is simple. If you want people to mail you about your site, a good way to do it is place an email link with a subject line already filled out for them.
<a href=“mailto:someone@home.net”>E-mail Us</a>

Code example:  <a href=“mailto:webmaster@rcma.org”>Contact Us</a>

What visitor sees:  Contact Us

Video Tutorial

Next PostNewer Post Previous PostOlder Post Home

0 comments:

Post a Comment

Popular Last 7 days

Powered by Blogger.

Subscribe