Answers Search Help
Boston University home page
HTML: Introduction
 
 
    Components
 
 
 
 
 
 
    Syntax
 
 
 
 
 
    Essential Tags
 
 
 
 
 
 
 
 
    HTML Headings
 
 
    Text
 
 
 
 
    Layout
 
 
 
 
 
 
 
    Links & Images
 
 
 
 
    Publishing
 
 
    Also See
 
 

Links for E-mail

This is the method used to create an e-mail link within an HTML document:

<a href="mailto:recipient@bu.edu">Send us mail</a>

The e-mail address of the recipient is located within the HTML code after "mailto:" -- use the complete e-mail address. The code will invoke the browser's default e-mail application and automatically place the enclosed e-mail address in the "to:" field.

Any text description (or image) can be placed between the <a href="mailto:recipient@bu.edu"> and </a> tags. Clicking on that text or image will then launch the e-mail application.

You can specify multiple e-mail addresses in an e-mail link by separating them with commas. Example: <a href="mailto: recipient1@bu.edu,recipient2@bu.edu,recipient3@bu.edu">

CODE EXAMPLE:

If you find a broken link, please <a href="mailto:recipient@bu.edu">send e-mail</a> and we'll fix it as soon as possible.

RESULT:

If you find a broken link, please send e-mail and we'll fix it as soon as possible.

 

WebCentral Using Publishing Learning Training Consulting WebCentral
Answers Search Help
NIS  |  OIT  |  Boston University  |   January 9, 2007