| HyperText Links |
| Links are what puts the Web in the World
Wide Web! They allow you to link to a local file
(or image) or a file (or image) on the other side of the
planet. The basic format is: |
<a
href="scheme://host.domain/dir/subjdir/filename">text</a> |
| where: |
| <a ...> | anchor tag (start). |
| href | hypertext link. |
| scheme: | the Internet protocol to be used (see below). |
| //host.domain | the IP name (or number) of the computer. |
| /dir/subdir/ | path of filename. |
| filename | filename. |
| text | text to be displayed as the link in the browser. |
| </a> | anchor tag (end). |
| The schemes available are: [ "Beginners Guide to HTML"] |
| http | a file on a Web server |
| file | a local file or a file on an anonymous Ftp server |
| gopher | a file on a Gopher server |
| WAIS | a file on a WAIS server |
| news | a Usenet newsgroup |
| telnet | a telnet connection |
| ftp | a file on an anonymous Ftp server |
| Additionally, most browsers support: |
| mailto | an email connection (not supported by all browsers). |
| Most Web server software allows the creation of default pages, these pages are accessed when the URL doesnt include a filename. Some servers produce an index of the contents of a directory if the is no "default" file. |
| Examples |
<a href="http://www.fbe.unsw.edu.au/">Faculty
of the Built Environment, UNSW</a> |
| Faculty of the Built Environment, UNSW |
<a href="http://www.fbe.unsw.edu.au/Learning/AutoCAD/">FBE
AutoCAD Page</a> |
| FBE AutoCAD Page |
<a href="file://ftp.unsw.edu.au/pub/unsw/postcodes">Australian
Postcodes</a> |
| Australian Postcodes link no longer available |
<a href="news:alt.architecture">Architecture
newsgroup (Usenet)</a> |
| Architecture newsgroup (Usenet) |
<a href="telnet://library.unsw.edu.au">UNSW
Library Catalogue </a> |
| UNSW Library Catalogue |
<a href="ftp://www.fbe.unsw.edu.au/staff/stephen.peter/pokersq.exe"">Download
this game!</a> |
| Download this game! |
<a href="mailto:S.Peter@unsw.edu.au">Send
Email to Steve</a> |
| Send Email to Steve |
Go to next section: Lists or return to the Contents page. |
||
| Last Updated: 16 December 1998 | ||