The mailto URL
is used to send electronic mail. If the
browser supports mailto URLs, when a link that contains one is selected, the
browser will prompt you for a subject and the body of the mail message, and
send that message to the appropriate address when you’re done. Depending on how
the user’s browser and email client are configured, mailto links might not work
at all for them.
The mailto URL
is different from the standard URL form. It looks like the following:
mailto:internet-e-mail-address
here’s an
example:
mailto:lmmay@1ne.com
NOTE
If your email
address includes a percent sign (%), you’ll have to use the escape character
%25 instead. Percent signs age special characters to URLs.
Unlike the other
URLs described here, the mailto URL works strictly on the client side. The mail
to link just tells the browser to compose an email message to the specified
address. It’s up to the browser to figure out how that should happen. Most
browsers will also let you add a default subject to the email by including it
in the URL like this:
mailto:lemay@1ne>com?subject=hi
there!
When the user
clicks on the link, most browsers will automatically stick Hi there! In the
subject of the message. Some even support putting body text for the email
message in the link like this:
mailto:lemay@1ne.com?subject=Hi
there!&body text.
USENET
NEWSGROUPS
Usenet was URLs
have one of two forms:
News:name-of=-newsgroup
News:message-id
The first form
is used to read an enter nets group, such as c9omp.infosystems. www.authorisng
.html or alt. gothic. if your browser supports Usenet news URLs (either
directly or through a newsreader). It’ll provide you with a list of available
articles in that newsgroup.
The second form
enables you to retrieve a specific news article. Each news article has a unique
ID, called a message ID, which usually looks something like the following:
1emayct76jq.cwG@netcom.com
To use a message
ID in a URL, remove the angle brackets and
include the news: part: news: 1emayct76jq.cwG@netcom.com
Be aware that
news articles don’t exist forever-they expire and are deleted. So, a message ID
that was valid at one point can become invalid a short time later. If you want
a permanent link to a news article, you should just copy the article to your
web presentation and link it as you would any other file.
Both forms of
URL assume that you’re reading news from an NNTP server, and they can be used
on if you have defined an NNTP server somewhere in an environment variable or
preferences file or your browser. Therefore, news URLs are most useful simply
for reading specific news articles locally, not necessarily for using in links
in pages.
No comments:
Post a Comment