/template_override.css" /> /students/aboutus.css"/>

University of Rochester

Need Help


Stay Secure

Get Connected

Need Technology?


Incoming Students

Students

Faculty/Staff


Office of the Vice President for IT and CIO

myIdentity

Other IT Resources

IT Notices/Outages

About University IT


University IT Home

University IT » Web Services » Help » Intermediate HTML

Intermediate HTML

Contact Us: 585-275-2000 Email help:WebHelp@rochester.edu

Formatting documents correctly is very important for creating a good Web site. Users won't stay to look around if the page looks busy, confusing, or plain. Web authors have to try to use just enough images to make the page pleasing and interesting but not enough that the page takes too long to load or looks too busy. Also, Web pages must be designed with all users in mind, and different users are using different kinds of computers and browsers.

 

Contents:

 


Differences between Graphical and Text-based Browsers

The majority of internet users at the University of Rochester view the world wide web with graphical browsers: some examples include Netscape, MS Internet Explore and Opera. There are still users who use text based browsers, such as Lynx. The university Web Group encourages you to make your pages accessible to as many people as you can. By making your page accessible to users with text based browsers, you also make you page accessible to blind users who surf the web.

Formatting Specific to Graphical Broswers

Things that Work Differently in Lynx


HTML Tricks

Aligning Images


Graphical Broswers allows images to be aligned in many ways. To do this, include the phrase ALIGN=______ in the IMG tag. Fill in the blank with RIGHT, LEFT, MIDDLE, TOP, ABSBOTTOM, ABSMIDDLE, ABSTOP, etc. Aligning the image to the right means that the image is put on the right edge of the page and the text fills in the area next to it. Aligning to the left means that the image is on the left and the text fills the area to the right. By default, the image goes on the left and one line of text goes next to the image near the bottom. The next row of text begins under the image. Choices like middle, top, etc., allows you to move this single line of text. When aligning images, remember that different people see your pages at different widths, so some people may have a lot of room next to the image and some may not have any.

If you choose to align an image to the right or left and write text next to it, what happens if you only want a few lines of text next to it, and you want the next paragraph to begin below it? Use the <BR CLEAR=ALL> tag to end the left/right alignment and put the next line of text below the image.

 

Links Within a Document


Another trick that may not be included with basic HTML instruction is the technique of linking to specific places within documents. You need two tags to do this; first, create an anchor at the place you want to link to. For example, type <A NAME="here"></A>. Then, at another place in the document, link to it like this: <A HREF="#here">. To link to this place from another document, use: <A HREF="documentname.html#here">, where documentname.html is the name of the file that the anchor is in.

 

Definition Lists and Indentation


A problem that many Web authors come across is the problem of indenting or creating a table without using a <table>. For example, let's say you have a list of staff members and e-mail addresses that, in print, is organized in two columns. The best way to organize this in HTML is to use definition lists. This has three parts: <DL> and </DL> to begin and end the list, <DT> for every defined term (in this case, the staff member's name), and <DD> for every defined definition (in this case, the e-mail address). The defined terms are not indented, but the definitions are. For example:
Joe Smith
jsmith@somewhere.com
Jane Doe
jdoe@somewhere.com

A way to indent entire paragraphs is to use <BLOCKQUOTE>. Just remember not to over-use any of these formatting tricks, or it will make your page look busy and confusing.

 

Special List Numbering


If you are very picky about organizing lists, some Graphical Broswers have a trick you may like. You can create ordered lists with numbers, capital letters, roman numerals, or lower case numbers. Use <OL TYPE=1> (default), <OL TYPE=A>, <OL TYPE=I>, or <OL TYPE=a>.

 

 


A List of DOs and DON'Ts for Web Style

Don't: Do: Include a Standard Disclaimer: