Text Links

Posted by admin | Posted in HTML Tutorial | Posted on 11-08-2010-05-2008

0

<a></a> tag is used to define the start and ending of an anchor.the link is given as the value of the href attribute. The text you place between the opening and closing tags will be shown as the link on a page.

Example:

  • <a href=”http://www.xyz.com/” target=”_blank” >XYZ Home</a>
  • <a href=”http://www.espn.com/” target=”_blank” >ESPN Home</a>
  • <a href=”http://www.yahoo.com/” target=”_blank” >Yahoo Home</a>

Email Links

We can make email links. whenever a user will click on the link he will be directed to a blank mail composing page with the to and the subject already filled up.

There actually is not a separate HTML tag for creating an HTML email link. Instead you use a standard HTML anchor tag <a> and set the href property equal to the email adddress, rather than specifying a web URL.

these things are done in case you want to take feedback from anyone visiting your webpage.

Example:

  • <a href=”mailto:email@xyz.com?subject=Feedback” >Email@xyz.com</a>

Email Links:

  • Email@xyz.com

Write a comment

Twitter Users
Enter your personal information in the form or sign in with your Twitter account by clicking the button below.