Web Programming and computer Blog
Latest news

Main Menu

Html Tags List
Meta Tags
Headings
Backgrounds
Inserting text
Text Manipulation
Linking
Images
Tables
Forms
Color Chart
Frames
Example Web Pages
Contactus

Linking

While you are designing your page, you can create links that points you to other pages in your website or other websites. Usually, these links will appear as blue and underlined text. When the visitors will click on them, they will be transferred to the targeted page.

 

Creating a link in your web page is done by <a> tag (anchor):

 

<a href=URL>Text to be displayed that will point to URL</a>

 

Example:

<a href=http://www.yahoo.com>Click Here to visit Yahoo!</a>

 

 Click Here to visit Yahoo!


 

● Linking an image:

Linking an image is similar to a text linking and is done by <a> tag: <a href=”URL”><img src=”Image URL”></a>

 

Example:

<a href="yahoo.com"><imgsrc="yahoo.com/logo.gif"></a>

Yahoo!


 

● Linking an E-mail address:

You can link a text to an email address by simply adding “mailto” before the email address. When visitors click on the link, they will be transferred to their default email client.

 

<a href=mailto:email@address>Text to be displayed</a>

 

Example:

<a href=mailto:amailto:admin@htmlfiles.net>Click to Mail me!</a>

 

 Click to Mail me!

 

Ads

Html Help
Daily Pages that Suck

04/18/2006 12:39 AM
Do you have a favicon?
The favicon or favorites icon is a neat way to brand your Web site, and depending upon the browser, that little icon can show up in the tab bar, in...
04/17/2006 12:00 AM
BrowserCam is a pretty cool tool
I set up a 24-hour trial of BrowserCam and it is a pretty cool tool. It allows you to see screen shots of your Web site in a bunch of...

© 2005 Htmlhelps.net, Inc. All rights reserved. Terms of Use and Disclaimer