Graphic Design Navigation
 

May 14, 2008
E-mail this page Have Questions?
Google
 
 
     

Easy to understand articles

Where you are:
      » Home   » Web Design

HTML Link Tags
Here's a listing of all the various link tags. The BODY tags are also covered in the essential tags article but I've included them here as they are also link tags. The tags are listed in blue. The attributes (if any) that go inside the tags are listed below them. If you haven't done so, you might want to read the introductory article on HTML first.slug

 Tags    Descriptions

<BODY></BODY>
Attributes: BACKGROUND="filename"
Inserts a background image (named filename) behind the contents of the page.
BGCOLOR="hexadecimal color" Determines the background color of this page.
TEXT="hexadecimal color" Determines the text color.
LINK="hexadecimal color" Determines the color of unvisited links.
ALINK="hexadecimal color" Determines the color of active links (links being clicked).
VLINK="hexadecimal color" Determines the color of visited links.

  Contains everything on the page.

Example: <BODY BACKGROUND= "background.gif" BGCOLOR="#000000" TEXT="#FFFFFF" LINK="#3366FF" ALINK="#666666" VLINK"#3333CC">
<A HREF="http://www.domain.com"> </A>  

Makes a link to another Web page.
Example: Visit <A HREF= "http://www.mydesignprimer.com"> My Design Primer</A> or
My Design Primer

 

<A NAME="name"></A>  

Gives a particular spot on the page a name, which lets you link directly to this point on the page. Each name in a document must be unique.
Example: <A NAME="address"> My Company's address</A> or
My Company's address

 

<A HREF="#name"></A>  

Makes a link to a named location on the page.
Example (within the same page): <A HREF="#address">Click here for our address</A>
Example (from a different page): <A HREF="contact.html#address">Click here for our address</A> or
Click here for our address

 

<A HREF="mailto: email@address.com"> </A>  

When this link is clicked, the browser opens a blank, pre-addressed email. Example: <A HREF= "mailto:contact@mydesignprimer.com"> contact us </A> or
contact us

 

<A HREF="mailto: email@address.com
?Subject=
subject line "> </A>
 

When this link is clicked, the browser opens a pre-addressed email message with a predetermined subject line. Example: <A HREF="mailto: contact@mydesignprimer.com
?Subject=Comments">contact us</A>or
contact us

 

<A HREF="news: newsgroup_name"> </A>   Inserts a link to a Usenet newsgroup.
 


Top


HOME  |  Equipment  |  Graphics  |  Fonts  |  Printing  |  Web  |  Classes  |  About Us

Visit other My Design Studio sites: Printing-101.com  |  1WordPlace.com

© Copyright My Design Studio, all rights reserved. Please read our terms of use.

 
Fonts Graphics Classes Web articles Printing Equipment Home Web Terms HTML Coding Web File Formats Website Development Website Maintenance Surfing Tips & Tricks About Us