MMDT1021 Chapter 6 Notes - page 3

Creating other kinds of links

Link to any file (documents, movies, pictures, programs, sounds, etc.).  Usually the browser will open a window inquiring if the file should be downloaded or executed.
Code Result
<a href="http://cst1620b.ridgewater.net/
files/PythTrip/
PythTripCsNet.exe">Pythagorean Triples </a>
Pythagorean Triples
<a href="http://ridgewater.net/resume/
allenresume.pdf">Resume PDF</a>
Resume PDF

 

You can also link to a directory/folder so they can be browsed.  Of course this will only work if the directory to be browsed does not have the default index.htm, index.html, index.asp, or default.htm  file contained within it.
Code Result
<a href="http://cst2856.ridgewater.net/
keyboards/software/
scancode/">ScanCode Directory</a>
ScanCode Directory

 

Link to an FTP site.
Code Result
<a href= "ftp://ftp.microsoft.com/">Microsoft FTP site</a> Microsoft FTP site

 

Link to a newsgroup. (Works only if you have a newsgroup reader set up)
Code Result
<a href="news://msnews.microsoft.com/ microsoft.public.windowsxp.general">Microsoft XP general questions</a> Microsoft XP general questions

 

Send email through your default email client such as Outlook, Outlook Express, Windows Mail, Thunderbird, etc. (Works only if you have an email client set up)
Code Result
<a href="mailto:allen.benusa@ridgewater
.edu?subject=Help with assignment">Allen Benusa</a>
Allen Benusa

 

Telnet
Places to telnet.  (Does not work with the newest browsers)
Code Result
<a href="telnet://locis.loc.gov">Library of Congress</a> Library of Congress

 

Creating Keyboard Shortcuts for Links

This is an HTML 4.0 feature that is supported in the newer browsers.
Internet Explorer requires Alt-key and then Enter.
Firfox requires Shift-Alt-key.
Chrome on OS X requires Control-Option-key.
Code Page
The Menu below is set up with Keyboard Shortcuts: Try 1, 2, 4, 5, L, H, N, S, or F (While holding down the Alt key). Source

 

Setting the Tab Order for Links

This is an HTML 4.0 feature that is supported in the newer browsers.  Using the tab key to move through fields is a well known way to move through links and fields in a web page.  Alt-tab allows you to reverse.
Code Page
The Menu below is set up with a demonstration Tab Order. Try using the Tab key to navigate the links. Note the reverse order on the second menu line. Source

1  |  2  |  3  |  4  |  5  |  Lab 6  ]

[ MMDT1021 Home | Class Notes and Assignments | Class Schedule | Files and Utilities ]