|
Virginia's HTML — Your First Page |
Copy the following into a new page in your editor. (If you aren't named "Virginia" substitute your own name.)
|
<!virginia.html - a page about me>
<HTML> <HEAD></HEAD> <BODY> This is Virginia's first web page. </BODY> </HTML> <!end of virginia.html> |
The first and last lines are comments — <! notes to yourself go here>. Start with a comment that contains the name of the file and a few words explaining what the page is about. End with a line that identifies itself as the end of the file. A month or a year after you create the page you'll be glad to have these comments.
Note that the file name uses all lowercase letters. You can use mixed case names, but that will eventually cause a disaster. You'll do some work on a Windows PC and then upload your files to a Linux or UNIX server. Then you'll find that the graphics which looked so good are gone and the links are all broken. That's because MyGraphic.GIF and MyGraphic.gif are synonyms on Windows, but they are separate files on Linux and UNIX. Stick to all lowercase file names and this will never be a problem.
The next lines show the basic structure tags.
Now fire up your favorite browser (Konqueror! or, if you're stuck in Windows, Firefox or Opera) and use the File/Open dialog to open /vr-website-root/virginia.html. You should see this:
| This is Virginia's first web page. |
Got it? Good!
This is the basic HTML-writing technique. Do your work in your text editor, save and view your local file with your browser. Then back and forth between editing with your editor and viewing with your browser.
In your browser, go to www.VirginiaRinehart.com/admin and sign in. Go to the File Manager and click the "Upload Files" button. "Browse" to /vr-website-root/virginia.html and click the file. Type "index.html" in the "Filename to Save As" box and click "Upload Files". (When you point your browser to "www.WhereEver.com" it actually goes to "www.WhereEver.com/index.html" which is why you save as "index.html".) The default page they provide is also "index.html". Their instructions tell you to delete it, but uploading another file and naming it "index.html" will automatically overwrite the old one. (No warning! Think before you upload.)
Now point your browser to www.VirginiaRinehart.com and you will see your very dull page.
Congratulations! You're on the web. (You're not registered with any search engines, so Google won't find you. That's probably good with such a dull page.)