|
To access the contents, click the chapter and section titles.
HTML 4.0 Sourcebook
General Home Page Design IssuesThere are several things to consider when designing home pages for the Web. Typically:
Clarity of Content To make a home page small and compact, the content must be clear and concise. The text in the example home page document (Figure 1.17) fulfills these criteria, providing a clear, concise description of the site and the material it contains, with a minimum of extraneous detail. The content can be written in any style: polite and well mannered, or eclectic and off-the-wall. In the example in Figure 1.17, the first paragraph explains the reason for the site and provides links to the major areas of interest. Each of these areas may, in turn, have its own home page specific to the subject at hand. This hierarchical structure lets people quickly find what they are looking for, and also makes it easy for the site developer to organize his or her documents. For example, you can have independent subdirectories for each distinct area, with your main home page having hypertext links to introductory home pages located in each of these subdirectories. Other hypertext links can then provide alternative relationships between documents, within this overall hierarchical arrangement. The home page in Figure 1.17 also contains a second, less detailed, list that provides a brief selection of alternative services. These items link to documents or services that are perhaps peripheral to the main purpose of the site, but that may be useful in directing the visitor to his or her destination. This figure also contains a collection of hypertext pointers to other resources that our group commonly uses. Such links are also often moved to a second page, to keep the home page as uncluttered as possible. Referring to Figures 1.18 and 1.19, you can see how clean the organization looks. Since the document is written in correct HTML, both browsers display it clearly, subject to their own limitations. A comparison of Figure 1.19 with the less-well-thought-out version in Figure 1.16 illustrates the importance of good organizational design. A little thought about how the hypertext links should be organized makes an enormous difference in the clarity of the final presentation. Image-Intensive Home Pages Alternatively, you might consider an all-graphical home page. Some sites use as a home page a large image map, or a collection of images that appear elsewhere in the site, and that provide a graphical key to the sites pages. Usually, these images are placed inside hypertext links and are linked to the various resources on the Web site, much like the text buttons in Figure 1.18. However, if a site uses image maps, or image buttons, it is wise to provide a link to an alternative text-only version of the home page, to make the site accessible to as wide an audience as possible. An example of this approach is seen in Figure 4.13. (The link to the Screen Reader Friendly version of the site is to a text-only home page.) Images: The Right Size Although not included in Example 3, decorative images, such as a company or organizational logo, are often included within a home page. This can be very attractive, adding an appealing graphical impact to your site. Be careful, however, to ensure that such images are not too large, as long download times for the page will frustrate visitors. As mentioned previously, the sizes of all the images on a page should ideally sum to less than 20 KB. Even if the page is attractive, the impact of this elegance is lost on a user who has had to wait minutes for the images to arrive. As mentioned in Example 2, use the IMG element HEIGHT and WIDTH attributes to specify the size of the images. This information lets the browser format the text, while setting aside space for the images that have not yet arrived. If you dont specify WIDTH and HEIGHT, most browsers will wait to load the images (and thereby determine the image sizes) before drawing the page. This can be very slow if there are lots of images, during which the user sees nothing at all, and curses you for having created such an irritating, slow-to-access page! Images: Acceptable Color Depths Always process home page images so that they do not contain too many distinct colors and that they contain the right set of colors! Many computer graphics displays can only display 256 colors (8-bit color), while some Web browsers limit each image in the browser window to fewer colors than thisthe reasons why are discussed in Chapter 3. Most graphics editing programs let graphics developers process images to reduce the number of colors they contain, often with little loss of image quality (at least as displayed by the browser). This has the added bonus of making the image files smaller and faster to download.
|
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement. |