WEB 101: Using the Web in Education and Training / Styles for Web Documents

[Return to Welcome Page] || [Ask a question or make a comment]

CONTENTS:

BUT FIRST, SOME DEFINITIONS:

[Return to Top] || [Ask a question or make a comment]

BACKGROUND (Web document developers, beware!):

World Wide Web documents are written (or more commonly, developed) using Hypertext Markup Language or HTML. Markup languages format documents, and HTML is an example of a markup language. The section on specific HTML styles illustrates the formatting possible with HTML.

With some exceptions, HTML styles are functional rather than descriptive. That is, the styles are designed for specific uses, rather than specific appearances. For example, the style STRONG places a strong emphasis on the text to which it is applied. Different Browsers may display or render that emphasis in different manners, such as boldface, italics or colored text. There are exceptions, such as ITALICS, which describes how the text is to appear.

In specific corporate settings which are restricted to internal use only, it may be practical to control which Web Browser employees will use, but in most other settings the Web document developer has no control over which Browser a user will employ. You may warn users that your site is designed for a specific Browser and even Browser version, but you cannot prevent someone from attempting to use a different one. In marketing applications, of course, this would be highly counterproductive.

If you are going to develop Web documents, it is important to realize that you will have a lot less control over document appearance or rendering than you would with a word processing or desktop publishing program. There are several reasons for this, as follows:

One resulting rule for Web document developers is, "don't try to develop the perfect page," because it probably won't appear the way you specify anyway. One exception to this is graphics. Graphics will appear almost exactly as you developed them. Different Browsers can change the screen color and the size for your graphic, but they cannot change the proportions. This is one reason that graphics are popular with developers. Users like them because they are "cool." Graphics, however, are a double-edged sword today; graphics files are large and loading them can be slow, especially using a modem. For this reason, all Browsers offer the option of not downloading graphics files. So, heavy use of graphics can be self-defeating. Web document developers should keep graphics files small, and provide text-based alternatives for any information contained in graphics.

HTML styles are applied by codes. With some HTML editors, you work with the codes directly; in others, such as HotMetal or Internet Assistant for Microsoft Word, you work with the style names and appearances, and are usually unaware of the codes. Working with the codes directly can be daunting; this is often spoken of as "HTML programming." If you are not into computer programming, work with one of the editors such as HotMetal or Internet Assistant for Word that protects you from direct contents with the codes.

HTML codes are identified by angle brackets, with the code appearing inside the brackets, for example, <P>. There are two basic categories of HTML codes,

HTML does not currently support centering, right align or justified text. Also, there is no provisions for tabs.

[Return to Top] || [Ask a question or make a comment]


SPECIFIC HTML STYLES (please be aware that these styles will appear differently in different Web Browsers):

HTML code: <HR>

This is normal text. There is word wrap, and the text is left-adjusted. Paragraphs are spaced more widely than lines within a paragraph. You can also apply a line break (here is a line break),
which starts a new line but not a new paragraph, and so has the smaller spacing of lines within a paragraph.

HTML code: <P> for paragraph, <B> for new line without new paragraph

Emphasis or EM. This is often rendered as italics, not necessarily. It can be applied to just part of a paragraph.

HTML code: <EM>, </EM>


Heading 1 or H1, the highest-level heading. Like all of the HTML heading codes below, HQ applies only to a single paragraph, after which it reverts to Normal. Also, HTML headings have extra space above and below the heading text. Headings can be mixed in any order.

HTML code: <H1>

Heading 2 or H2, the next highest-level heading.

HTML code: <H2>

Heading 3 or H3.

HTML code: <H3>

Heading 4 or H4.

HTML code: <H4>

Heading 5 or H5.

HTML code: <H5>

Heading 6 or H6, the lowest level of heading.

HTML code: <H6>



  1. This is List Number or Ordered List or OL
  2. Each item in the list starts with the List Item code, <LI>
  3. The list can be indented to different levels.
    1. For indented items
    2. another level of numbering starts, as shown here.
  4. Different Browsers can render this numbering in different ways.

HTML code: <OL>, </OL> at beginning and end of list, <LI> at start of every list item


The Blockquote is indented from regular text, appropriate for a long quotation that is to be set off from the rest of the text.

HTML code: <BLOCKQUOTE>, </BLOCKQUOTE>

This is the Variable or VAR style, which is just supposed to be different than the Normal paragraph. The way in which it is rendered can vary from Browser to Browser. It could be, for example, bold or italics, as long as it shows emphasis.

HTML code: <E>, </E>

Italics or I. Text can be specified as italics.

HTML code: <I>, </I>

Bold or B. Text can be specified as boldface.

HTML code: <B>, </B>

Underline.

HTML code:

[Return to Top] || [Ask a question or make a comment]