Writing for the World Wide Web | |
Home Course Information Assignments Schedule Class Notes Resources Student Pages |
Class Notes
Planning Site Navigation Organizing WWW Files Using Webpage Editors Upload / Download (FTP) Visual Design Appropriate Use of Technology Unix Commands Cascading Style Sheets JavaScript |
Page Location
Sometimes you want to create a template that will write the location of the current web document (as you see in the upper-right corner). This is relatively easy to do with JavaScript. Here are the lines of code; play around with them and see what you can do. Just place these lines of code somewhere in your HTML document:
The above lines of code will create the following display: |