Writing Good HTML Code and Optimizing for Slow Links
The Web author who writes HyperText Markup Language (HTML) pages must realize
that his or her work has the potential to be read by thousands (or tens or
hundreds of thousands) of people. Many of these individuals are browsing for
sheer enjoyment; others are browsing to find specific information. In either
case, this rather large audience expects things to be visually appealing and
for the information to be easily digested. Here are some hints on writing your
pages to let your audience get the most out of it.
General Hints
To make things easier for yourself, consider some of these things:
- If you'll be writing a lot of text from scratch, do it off-line in a word
processor first and check it thoroughly. After you're satisfied with it, then
start adding the HTML codes. An RTF to HTML converter or an HTML editor can
help here.
- Spell check the document. People will ultimately feel that if a document
contains a lot of spelling errors it must mean that it was done carelessly or
in haste. It only takes a minute to run it through a spell checker.
- Look and content are both important. A document's overall look grabs the
reader's attention; its content keeps them interested. Basic lessons or a good
book in page layout and design can help achieve a "look" for your pages. Also,
browsing other Web sites and noting features that you like in them can help as well.
- Make the raw files as easy to read for yourself as possible. Since the browsers
ignore blank lines and extra spaces, you can use this feature to your advantage
to make everything easier to see and edit.
Tips for Writing Good Code
To write good HTML code means to write in consideration of your audience.
They expect what they read to meet some minimum standard. They certainly aren't
expecting a work of literary art from you, but they are expecting a certain
amount of effort put into the writing. Here are a few tips:
Optimizing for Slow Links
Not everyone in this world has a high-speed data connection in their home or
office. The majority are dialing in with their old 14.4K or 9600 bps (or
slower!) modems. Although owners of modems of these speeds usually find it
suitable for sending many pages of text over the phone line, the large
graphical images and the associated time spent downloading them often tax the
user's patience. Here's how you can do your part to help:
Other Sources of Information
Here are some URLs for you to check out:
Composing Good HTML
http://www.ology.org/tilt/cgh/
Developing Good WWW Presentations (Especially for Low-Speed Connections)
http://satftp.soest.hawaii.edu/space/hawaii/low.speed.notes.html
Copyright © 1995 University of Hawai`i Information Technology Services
Last revised: 03.11.97