|  Writing Program  |  Business & Technical Writing  |  English Department 
|  English Tech
  |  ESL  |  Writing Program  |  All Sites... 


» Home
» Answers
» Activities


You are in Tutorials:
:: word processing ::
» Word 2003: Introduction
» Word 2003: Templates
» Word 2003: Tables
» Word 2003: Collaboration
» WordPerfect 9

:: the web ::
» Dreamweaver MX 2004
» Adobe GoLive 6
» HTML
» public_html
» Internet Explorer 6.0
» Netscape Navigator 4.7
» Netscape Navigator 7.0
» A web glossary

:: general skills ::
» Mac to PC
» Keyboard shortcuts
» Advanced Mousing
» Printer troubleshooting
» Screen resolution
» Viruses
» Freezes and Crashes
» Controlling Spam

:: lab software ::
» SSH File Transfer
» The forums
» The classpage system
» NetOp School

:: other software ::
» Photoshop 7
» Photoshop 7 - banner
» PowerPoint 2003
» Excel 2003
» Outlook Express
» RCI WebMail
» PDF reader
» PDF creation
» FlashPaper 2
» WinZip
» WinRAR

Search the GetIT website...


html

Intro & Getting Started | Viewing Source & Tags | Making & Testing a Page | Basic Text Formatting | Images
Links | Directory Structure & e-mail | Tables | META Tags | Outside Resources

Directory Structure (in terms of links):
You can have different folders for your website, each containing different HTML files. You can link between folders, too. However, you'll have to keep in mind the directory structure of your site as you're coding the links.

Suppose you have a main folder. Inside this folder, you have two other folders: "one" and "two". Folder "one" contains an HTML file you'd like to have link to another HTML file that is in folder "two." The link would look similar to this:

<A HREF="../two/htmlfile.html">text you wish to link</A>

The "../" is used to show going up in the directory structure, and can be combined as many times as necessary to get to the desired folder.

Directory Structure (in terms of filenames):
You'll probably notice that when you go to a website (say, www.rutgers.edu) that there is no filename (like "page.html") in the address bar. Why is this? Shouldn't all pages have some kind of filename? They do!

Hopefully you've discovered the ease of using directories on your site to organize different sections. These directories lend a neat little option to you. If you put a file named "index.html" into any directory, the browser will automatically load up that "index.html" page if the directory is in the address bar.

Huh?

Consider this example:

http://www.yoursite.com/folder/index.html
http://www.yoursite.com/folder

It doesn't matter which of the above two you type in. Each would go to the file "index.html" by default.

Email Links:
Somewhere on your page, you'll probably want to have a link so that your visitors can e-mail you with any feedback or questions they may have. This is done similar to a link you've already made, with a slight adjustment.

<A HREF="mailto:address@provider.com">text to link here</A>

The <A HREF> should look familiar to you from traditional links. The "mailto:" lets the browser know that this is a link for an e-mail program; not the browser. The "address@provider.com" should be replaced with your e-mail address.

>> next

 


Copyright © 2002
Rutgers University Writing Program
All Rights Reserved
Site Feedback & Questions?