4th July 2008 search this site | sitemap | advertise 

  HTML Image and Link Tags including HREF - IMG SRC - ALT - ALIGN




HTML tags - Linkage, image and multimedia Tags
<A HREF="URL"> link text/image </A>

Provides a link to the URL in the <A HREF> tag, the </A> denotes the end of the link tag.

<A HREF="#???"> link text/image </A>

Provides a link to an <A NAME="??"> tag in the same document, </A> denotes the end of the link tag.

<A HREF="URL#???"> link text/image </A>

Provides a link to an <A NAME="??"> tag in the document given in the URL, </A> denotes the end of the link tag.

<A HREF="mailto:whoever@domain.com"> link text/image </a>

Provides a link to send an email to the recipient in the <A HREF> tag. If you want to set the subject for the email you can use <A HREF="mailto:whoever@domain.com?subject=****"> link text/image </A> where **** is the text of the subject.

<A NAME="???"> link text/image </A>

Defines a part of a document to be linked to by the <A HREF="#???"> and <AHREF="URL#???"> tags.

<IMG SRC="URL">

Displays the image in the given URL.

<IMG SRC="URL" ALIGN=TOP|BOTTOM|MIDDLE|LEFT|RIGHT>

where TOP, BOTTOM, MIDDLE, LEFT, RIGHT are the alignment parameters. For example to display an image that is left aligned use <IMG SRC="URL" ALIGN=LEFT>.

<IMG SRC="URL" ALT="???">

allows a text alternative, where ??? is the text to be displayed if the image is unobtainable.

<IMG SRC="URL" WIDTH=xx HEIGHT=yy>

denotes how big the image should be displayed, where xx is the width and yy is the height in pixels.

<IMG SRC="URL" WIDTH="xx%" HEIGHT="yy%">

the same as above but the dimensions given in percent, instead of pixels.

<IMG SRC="URL" BORDER=??>

defines the size of the border around the image in pixels.

back to top | back to Tags menu - © Copyright 2001-2008 helpwithpcs.com