PBDS 660: Introduction to Hypermedia

Tonight's Agenda: Everything is Relativerobot

Hide All | Show All

Quiz 2: Functional Fundamentals

You have 15 minutes to complete the quiz.

The Printing Press


Units of Measure

Why is the printing press important?

The Printing Press

Absolute Versus Relative

Units of Measure

An absolute unit of measure is based on some aspect of physical reality, like an inch.

A relative unit of measure is based on a variable value, like a percentage of another number.

URLs

An absolute URL (aka, fully qualified URL) is one that specifies the entire address for a web resource, beginning with the protocol (http://), the IP address mapped onto a domain name (www.myserver.edu), and the complete pathname right down to the file (/directory1/directory2/myfile.html).

A relative URL specifies only the information required to locate the resource in relation to the current document.

Examples of Absolute Units

Units of Measure

Examples of Relative Units

Units of Measure

URLs

Screen Resolutions

Units of Measure

A pixel is a relative measure: it is relative to the ppi resolution of the monitor. While some monitors display 96 pixels per inch, some monitors display 72 pixels per inch.

What else has 72 somethings? And why do graphic designers prefer Macs?

Screen Resolutions

Monitors and Screen Resolutions

Units of Measure

So I am designing a web page - how big do I make it?

Monitor sizes are always changing as technologies become cheaper and cheaper. Here are some current standard sizes, in pixels. Don't forget to adjust for the browser window (e.g. the scroll bar, the buttons at the top.)

Monitors and Screen Resolutions

Don't Quite Get It?

These links might help. And if you do get it, read them anyway.

Pixels n' Points

Absolute versus relative

Screens and Paper

WWW Pages and Cascading Stylesheets

Next Steps in XHTML

Links to another page:

If the page you are linking to is in the same directory, the link will look like this:
<a href="somefile.html">- - some text goes here - - </a>

If the page you are linking to is in the directory "above" your current one, the link will look like this:
<a href="../somefile.html">- - some text goes here - - </a>

If the page you are linking to is in a directory "parallel" to your current directory, the link will look like this:
<a href="../anotherDirectory/somefile.html">- - some text goes here - - </a>

If the page you are linking to is on another server, the link will look like this:
<a href="http://www.someserver.com/a_directory/somefile.html">- - some text goes here - - </a>

Links to a specific location on the current page:

Long pages often need links to internal locations to help with navigation. You can see an example on the Assignments page for this course. Such links have two parts, both of which use the <a> element. The first part looks more or less like a regular link with a little coda at the end:
<a href="somefile.html#some_name">- - some text goes here - - </a>

The other end of this link looks like this:
<a name="some_name">- - some other text goes here - - </a>

Writing location-specific links is a bit tricky. The name you give the destination must be unique and you must be careful to use the same spelling and case when you write the value for the href attribute in the other half of the link.

Assignment One due Next Week

Assignment One instructions.


Last updated: 02/17/07 14:45:14
Copyright © 2006 School of Information Arts and Technologies