Other Links
Table 11-1 lists URL types that are not as well known or useful as mailto or ftp://, but are available. As with other links, place these URLs after the href attribute within the anchor element.
Table 11-1. Alternative link protocols
|
Type |
Syntax |
Use |
|---|---|---|
|
File |
|
Specifies a file without indicating the protocol. This is useful for accessing files on a contained site such as a CD-ROM or kiosk application, but it is less appropriate over networks (such as the Internet). |
|
News |
|
Accesses either a single message or an entire newsgroup within the Usenet news system. Some browsers do not support news URLs, so you should avoid using them. |
|
NNTP |
|
Provides a complete mechanism for accessing Usenet news articles. The article is served only to machines that are allowed to retrieve articles from this server, so this URL has limited practical use. |
|
Telnet |
|
Opens a Telnet session with a desired server. The |
|
Gopher |
|
Accesses a document on a gopher server. The gopher document retrieval system was eclipsed by the World Wide Web, but some gopher servers are still operating. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access