Geography 353 Cartography and Visualization

...to Geog 353 Main Page and Course Description
...to Geog 353 Syllabus
...to Geog 353 Course Schedule and Lecture Outlines
...to Geog 353 Laboratory Information and Student Projects


Geog 353 Lab 2: HyperText Markup Language (HTML) & Map Mashups
Update: 9/2/09
100 points
ASSIGNED: Wednesday September 2
PREVIEW DEMO DUE: Wednesday September 16 & Monday September 21 (demo to class)
DUE: Wednesday September 23, with in-class demo if significant changes.
Visual Guide to HTML: basics of HTML


A HTML (HyperText Markup Language) file is nothing more than a basic text file containing HTML commands, links to images and other pages, and the text you see on a web page. HTML commands are letters and words that shape what you see (and what happens) when you interact with a WWW page in an internet browser.

All HTML commands are placed between less than and greater than symbols (< >). Anything between these two symbols (and the symbols themselves) will not be visible when you view the HTML page in an internet browser, but will effect what you see (or can do) on the WWW page. This exercise will introduce you to HTML by having you create, modify, and view a few basic HTML files.

We will initially work with text (HTML) files and manipulate the HTML without HTML scripting software. I prefer you understand how HTML works, and scripting software impedes your understanding of HTML. A basic reference page of HTML commands (Visual Guide to HTML) is very olde but will help you to learn basic HTML commands. Additional knowledge of HTML can be found in innumerable sources on the WWW.


Lab 2 Goal: Generate (at minimum) four different HTML pages & a lab log blog functioning on the internet, for your course project: they will develop over the semester, but at minimum include:


Please shape your project WWW pages & blog so that they reveal a solid knowledge of HTML and look kinda-k001. Experiment with backgrounds, colors, layout, etc. I expect you will have a set of creatively designed pages at the time this lab is due. You will continue to refine the pages over the semester.


The Details:

An Introduction to HTML Each student should have created (in Lab 1) a course (Geog 353) folder on the computer C drive, and in that folder should be your own folder (with your name). In your folder should be a folder called HTML. Save all your HTML files in the HTML folder.

Get in the habit of backing up all your work on the soon to be departed lab computers.

Remember: Text (.txt) and HTML (.htm) files are essentially the same; HTML files are text files with HTML commands.

Each student needs to copy three text/HTML files into their HTML directory:

Use FIrefox as your browser for this exercise.

Click once to see the file index.htm

You now have the basic files you will modify and develop into your own html files for this course.

Important: when naming files:


TIP! Look at your files in Windows Explorer (right click on Start menu). If you don't see the file extension (.htm, .txt, etc.) it is because Windows is trying to help you and instead it is making life hard for you: the files krygier.txt and krygier.htm will show up as two files named krygier and this, obviously, is confusing. Damn you Bill Gates! To change this very stupid Windows default you need to find Folder Options in Windows: Start >> Settings >> Folder Options, then select View from the options at the top of the window, and un-check the box next to the text that says "hide file extensions for known file types." Hit the Apply button and you should be able to see the file extensions in Windows Explorer.


Software you will need:


1) open the WWW Browser (if not already open); reduce to bottom bar

2) open a text processor (please use Note Pad: Programs>>Accessories>>Note Pad)



TIP! Check on your computer desktop and see if there is a shortcut to Note Pad. If there is not an icon named Note Pad, use the FIND feature of Windows (under the Start menu) to locate the Note Pad application on the computer's C: drive. Once located, click and drag the icon for Note Pad onto the desktop. This automatically adds a shortcut to Note Pad on your computer desktop. Snappy!


3) from Note Pad, navigate to and open your copy of index.htm



WARNING! You should see a basic text file with a dozen or so lines of HTML code and text with blank lines in between. If all the text is on one line please tell your instructor and he will provide a properly formatted file.


4) with the browser open (as a file, not a location) index.htm



TIP! Notice that you are viewing HTML files that are on your PC (rather than out on the WWW). Obviously you can view HTML files without those files being uploaded to a WWW server. When developing HTML pages it is vital to work on and view them on your PC and refine them until they work perfectly. You then upload them to a server, using FPT (file transfer protocol) software, and then the world can look at them. We will do the FTP thing at the end of this lab.


5) compare the browser and text editor versions


6) in the text editor, change some text in index.htm


7) Navigate to the Visual Guide to HTML using your browser.

Carefully read the introductory information about setting up your HTML files.

Compare the browser view with the text (HTML) view: while in the browser select the View menu and then View Source. You should see all the HTML code and text for the Visual Guide. When you see an HTML effect you want to use in your own pages, view the source HTML and copy the HTML code (Control-C) and paste (Control-V) into your own HTML page. You can do this with any HTML page you find on the WWW. When you see something interesting on a HTML page, you can see and even copy how they did it.

The Visual Guide allows you to see basic HTML functions as the look in raw HTML and as they look in a WWW browser. Use the Visual Guide to start developing your HTML pages. It has all the HTML basics you need to complete this Lab.

8) Explore the WWW to find out more about HTML commands.

While you may be tempted to scamper out and buy an HTML book, there are many great sources available free on the WWW. Check out the Compact Guide to HTML site, for example. Include it as a link in your lab log blog entry for this lab. Go to www.yahoo.com and find the category for HTML: explore these free sources of information on HTML and HTML commands. Save the address of at least one of these sites, and include it in your lab log blog entry for this lab.

9) Using the information and resources you have learned about so far, complete the basic course WWW pages & blog. Be prepared to show the instructor that they work. You can copy and paste your lab log text from the first lab from a text/word processor file into the blog.



REALLY BIG TIP: The HTML pages you create for this course constitute the final form of your course project. The HTML pages will be placed on the OWU WWW server, and anyone in the world with WWW access can see them. Do keep in mind that your WWW pages represent you, your instructor, and Ohio Wesleyan University. You would not include copyright infringements, spelling errors, and other various blasphemies in a paper or project you complete for a university course, so avoid them in your WWW pages. I don't want to be a censor, or limit your fun with WWW pages. Just use some common sense.


10) Create a blog for your lab comments (your lab log blog) at WordPress.


11) Create a basic Google Maps Mashup:

Mashups are sorta popular at the moment, and are becoming easier to create, even if you are not a computer expert.

A map mashup is simply a map created from at least two different data sources. A real mashup (eg., not a Google My Maps map) requires you to know a bit about HTML, thus this lab is an appropriate place to create one. You will use Google's API (Application programming interface) and have to register with Google to do so.



12) Complete modifications on your HTML pages: they should all link together and look decent:


13) Finally: Upload your four interlinked HTML pages to your web space on the OWU server using FTP (file transfer protocol) software.



HTML Authoring Software: Most people use HTML scripting software to create WWW pages. Computers in the lab should have one of the better HTML authoring tools installed,Macromedia Dreamweaver, or you can use one of the easy to use free HTML authoring tools like SeaMonkey, which should be installed on the GIS lab machines.

After completing your basic four pages and getting them working on the WWW, show your instructor. Then feel free to use HTML scripting software - Dreamweaver, or SeaMonkey, or whatever honks your horn.



Knowing how to create HTML, Map Mashups and blogs are useful skills. There are many sources (books, computer center courses, and the WWW) for learning about HTML, map mashups, and blogs. Do take the time to develop your WWW pages and HTML skills in the context of the course project. It will be worth your time.



E-mail: jbkrygier@owu.edu

...to Geog 353 Main Page and Course Description
...to krygier teaching page.
...to krygier top page.

OWU Home
OWU Geology and Geography Home