Full Page for Printing
Anyone thinking about designing a Web page typically turns to graphics design elements in print media for hints and examples of good page design. One of the best resources on this topic is Lynda Weinman's book, <designing web graphics>, from New Riders in Indianapolis.
It is difficult to not notice Web pages designed with multiple type sizes and colors, splashy type fonts pointing to carefully positioned artwork and photographic images. However, Weinman's comparisons of a sampling of the most common browsers in use -- from the many versions of the ubiquitous Netscape and Mosaic to the proprietary applications offered by the commercial online services -- offer valuable insights into the difficulties Web designers face when deciding between simple text pages and complicated, but more attractive, pages with images and tables.
Unlike a magazine page, the appearance of a Web page is actually controlled by the receiving browser user. To illustrate the impact on page design of this critical element, explore your browser for a tool-bar or command-line Options window: Search around under General Preferences for a Fonts preference. See if you can change the size at which the Base Font displays from 12-point (the typical default) to 10-point (smaller) or 14-point (larger). Notice what happens to the size, not only of the text, but also of the headings. Find a size -- or even another font style -- that is comfortable to you -- you are the browser user receiving the page!
However, the designer can specify the relationships between
different body sizes and the headings, as well as specify bold and italic
styles for emphasis or organization. This capability is demonstrated by
the following text:
| HTML Coding | Output |
|---|---|
|
<H1>Headline</H1> <H2>Sub-Head</H2> Body text with <I>italics</I> and <B>boldface</B> text elements. <H2>The Next Sub-Head</H2> The next bit of body text, and so. |
HeadlineSub-HeadBody text with italics and boldface text elements.The Next Sub-HeadThe next bit of body text, and so. |
There are two standards for both the italic and the boldface containers:
The <STRONG> tag container pairs for boldface and <EM> italic are "structural" tags and <B> and <I>, are "rendering" tags. Both conventions are HTML 3.2 standard.
Both the <B> boldface and <I> italic can be nested to create Bold Italic. Just be sure not to cross the open-close pairs:
Back to...TOP
Back
to...Designing Web Pages
| HTML Coding | Output |
|---|---|
| <H4 ALIGN="center">Centered
Heading</H4> ...followed by a line of text across the page... |
Centered Heading...followed by a line of text across the page... |
| <H4 ALIGN="right">Flush Right Heading</H4> ...followed by a line of text across the page... |
Flush Right Heading...followed by a line of text across the page... |
In addition, by adding the same left-center-right rendering hints as attributes to the <P> tag, designers can accomplish appearance control over text display. The following code...
| HTML Coding | Output |
|---|---|
| <P ALIGN="center">This is a centered
paragraph. <BR> All lines within the container will be centered <BR> on the midpoint of the display.</P> |
This is a centered paragraph. |
| <P ALIGN="right">This is a right margin paragraph. <BR >All lines within the container will be flush right <BR >to the right margin of the display.</P> |
This is a right margin paragraph. |
Notice, and this is important, that when the align attribute is added to the paragraph tag, <P> must be considered a container. That is,<P ALIGN="__"> must be paired with the slash tag </P> in order to "turn off" the attribute in a predictable manner.
There is a "centering" tag which works in a few browsers and in fact is so widely used that the <CENTER>...</CENTER> container pair has been included in the HTML 3.2 standards. It works on headings, text, and images.
| HTML Coding | Output |
|---|---|
| <CENTER> <H3>Heading 3</H3> This is text to be centered on the page. <IMG SRC="images/oldkodak.gif" ALT="[Old_Camera]"> </CENTER> |
Heading 3This is text to be centered on the page.
|
Additional alignment formats may be constructed using elements of Lists and/or Tables.
Back to...TOP
Back
to...Designing Web Pages
This is normal text (set by the Options in the browser). The <SMALL>container pair</SMALL> reduces text size, and the <BIG>container pair</BIG> increases text size in relationship to normal. Bracket the text to be structured with the appropriate tag set.
The following lines illustrate the <FONT Size= >...</FONT> container pair in use:
This is <FONT size=1> This is <FONT size=2>
This is <FONT size=3> This is <FONT size=4>
This is <FONT size=5> This is <FONT size=6>
This is <FONT size=7>
If those lines appeared very tiny <FONT size=1>, normal <FONT size=3>, up to quite large <FONT size=7> on your display, then you can see the advantage of having such a tool. However, not all browsers display them in the same way.
In addition, there is a second non-standard convention which starts with the normal text (at whatever point it is set in the Options) and adds or subtracts from that <BASEFONT> as follows:
This is normal type. <FONT size=-1>This is one font size smaller.</FONT><FONT size=+2> This is two sizes larger.</FONT>The above line might display as follows:
This is normal type. This is one font size smaller. This is two sizes larger.Notice that all three conventions allow for continuous print -- in other words, the graphics designer could change the type size within a line without forcing a line break to the margin. Also notice that all three are container tags -- they must be closed with slash tag structures.
Back to...TOP
Back
to...Designing Web Pages
or
If it's not, perhaps this browser doesn't accept the attribute? If it is, consider combining <FONT COLOR="#rrggbb"> with <TD BGCOLOR="#rrggbb"> and <BODY BGCOLOR="#rrggbb"> colors for design effects:
rrggbb Hex Numbers for 16 Colors To achieve the desired color, replace "#rrggbb" in each attribute argument with "#" and the six (6) characters on the color.
This cell is colored "light grey" and aligned right. The font is dark red.
<TD BGCOLOR="#C0C0C0" ALIGN="right">
"#, cee-zero, cee-zero, cee-zero."
<FONT COLOR="#800000">...</FONT>
"#, eight-zero, zero-zero, zero-zero."
Douglas R. Jacobson, has a comprehensive set of color charts. See the RGB-HEX chart for a quick set of color codes. If you find this, or Jacobson's home page helpful, please e-mail him at drj2142@flash.net
Back to...TOP
Back
to...Designing Web Pages