HTML and CSS Reference
In-Depth Information
type=" MIME type
MIME type "
Specifies the media or content type (MIME type) of the linked content—for example,
text/html .
Examples
To a local file:
<a href="filename.html" > . . . </a>
To an external file:
<a href="http://server/path/file.html" > . . . </a>
To send an email message (browser may trigger the user's mail program to open a new mes-
sage):
<a href="mailto:username@domain" > . . . </a>
To a telephone number (mobile phone browsers may present an alert box allowing the user to
call the linked number):
<a href="tel:+15085551212" > . . . </a>
To a file on an FTP server:
<a href="ftp://server/path/filename" > . . . </a>
Creating a named anchor in HTML:
<a id="fragment" > . . . </a>
Linking to a named anchor:
<a href="http://server/path/file.html#fragment" > . . . </a>
Search WWH ::




Custom Search