Exercises - An Inquiry Into Values - HTML with Style | WebReference

Exercises - An Inquiry Into Values - HTML with Style

Front Page12345678

An Inquiry Into Values


That's all for this time. Until the next tutorial arrives, try the following to hone your skills:

Finding Your Display's DPI

Using the example on the previous page and a ruler marked in inches or centimeters, try to determine your displays DPI, or dots per inch. Do the same on other displays and compare the differences. Compare those to printer DPI values, which are usually around 300 or 600dpi for modern laser printers.

Unit Conversion

Take the following style sheet and document and convert it to use only one of the seven length unit types. Try it with all the unit types, and see what works best.

H1 {
 text-align: center;
 font: bold italic 2pc/2em Arial, Helvetica, sans-serif;
P {
 text-indent: 3ex;
 margin-left: 1in;
 margin-right: 1.5in;
 margin-top: 10px;
 margin-bottom: 10px;
<H1>Arnold's Homepage</H1>
<P>Hello, I'm Dr. Arnold D. Propellerhead, PhD, 
and this is my home page!</P>
<P>I'm currently employed by Acme Computer Corporation 
and working on their exciting M.O.R.O.N.S. project. 
M.O.R.O.N.S. is the Media Object Request Originating Name 
Sequencer, a program that will bring powerful Object 
Transfirbulation technology to your desktop. If you're
interested in Object Transfirbulation (and who isn't, 
these days!), you might be interested in my book, 
Transfirbulation Technology, which is quickly becoming 
the de facto textbook on Object Transfirbulation,</P>
<P>If you want to contact me, my email is <A
My contact address is Arnold D. Propellerhead, 
Transfirbulation Division, Acme Computer Corporation, 
One Acme Road, Acmetown, USA. You can also reach me at 
my office at 1-800-5MORONS at extension 358.</P>

Front Page12345678


Produced by Stephanos Piperoglou

All Rights Reserved. Legal Notices.

URL: http://www.webreference.com/html/tutorial8/
Created: Oct 30, 1998
Revised: Nov 4, 1998