by Terry Felke-Morris

Chapter 4 - XHTML Color & Visual Elements

A key component of a compelling web site is the use of interesting and appropriate graphics. This chapter will introduce you to working with color and graphical elements on web pages.

Topics discussed include: using color on web pages, creating horizontal lines, the different types of graphics, sources of graphics, and guidelines for using graphics on web pages.

Textbook Links

Free Graphics Tutorial

Often students need a logo banner or a button for their first web site project but have not taken any graphics courses yet. You can learn how to create a logo and button with the free tutorials below:

Selecting Colors for Your Web Sites

If you are new to design, it can be a tough decision to select colors for your website. Here are some sites that can help you with the process:

  • The Color Wizard offers a variety of ways to choose and compare a variety of color schemes related to a chosen starting color.
  • Eric Meyer's Color Blender is very useful when you want to create site with a monochromatic color scheme.
  • Sometimes designers choose colors based on a photograph. Visit colr.org to select a image from the Web and choose colors from from the image for use in your site.
  • WellStyled.com offers a handy color scheme generator that will create a variety of color schemes including monochromatic, contratsing, triad, tetrad, and analogic.
  • If you need some logo-building inspiration, Graphic Design Journal offers this look at trendy logo designs of 2005 and a report on logo trends of 2006.
  • Hypergurl.com offers a color scheme generator that shows a quick preview of text and background colors.
  • The color selector at Colors4WebMasters offers point and click color choosing options, immediately shows you the results, and generates CSS to configure the colors.
  • Use the RGB sliders to choose a color and Lee Street Management's QuickColor Flash animation will display a selection of coordinating colors.
  • Color Wheel Pro - a program that allows you to see color theory in action: you can create harmonious color schemes and preview them on real-world examples.
  • Bruce Clay offers an overview of using color in web design focusing on the the hidden meanings of color, branding, and the power of color.

Instant Buttons and Logo Banners

Glassy Buttons
CoolText Buttons
ButtonGenerator

ButtonMaker
TomaWeb

3D TextMaker
Animation Online
CoolTextLogo
CoolArchive
ABC Banners

Graphic Resources

Shareware
Download
Tucows
Microsoft Design Gallery
Big Nose Bird
Free Stock Photos
Indezine Stock Photos
The Stock Solution

Free Images
Big Stock Photo
Photos To Go
SuperStock
Photo Disc
Fotosearch
FamFamFam -- free icons
IconDrawer

Free Image Editors

You may enjoy experimentingt with a free image editor -- try Picnik.com or Google's Picasa.

Image Map Example

The Nature Conservancy Door County Vacations Door County
Image Map Code:

<map name="fishing">
   <area href="http://nature.org/" target="_blank"     shape="rect" coords="0,51,416,170" alt="The Nature     Conservancy" />
   <area href="http://www.doorcountyvacations.com/"     target="_blank" shape="rect" coords="24, 188, 339, 283"     alt="Door County Vacations" />
</map>
<p><img src="fishingboat.jpg" usemap="#fishing" border="0" alt="Door County" width="416" height="350" /></p>

Image Slicing

Chapter Updates

Chapter Materials:
Page 135 -- The title of Table 4.3 should be "Attributes of the <img /> Tag".

Page 135 -- The align attribute value of "center" is not valid according to the W3C XHTML DTD and will not pass vaildation. If you need to center an image and are not yet using CSS, consider wrapping the image in a centered div or paragraph. (Note: errata also applies to page 628.)

JavaJam Case Study:
Page 162 -- last bullet point for #4. The table should have a width of "90%" instead of "9090".

Fish Creek Case Study:
Page 163 -- The caption for Figure 4.35 should be "Fish Creek askvet.htm".

Pete the Painter Case Study:
Page 168 -- In #3 the ending ">" is missing from the closing table tag. The closing table tag should be configured: </table>

Prime Properties Case Study:
Page 173 -- A ")" should be added after ("Schaumburg Colonial" and "Libertyville Condo".

Questions or Comments?

The author would like to hear from you!
Send an e-mail to webdevfoundations@hotmail.com

Review Games
Chapter 4 Review
Flash Cards
Pick a Letter
Fill in the Blank
Matching
Crossword Puzzle


Color Tip

Submitted by Mary DeGuide, CIS 119 Harper College
Sometimes it is difficult to choose colors for components on your web site. Visit Color Schemer and try out color combinations.

Resources

W3C
W3C HTML Validator
W3C CSS Validator

Color Chart
Design Checklist
Fireworks Tutorial
Flash Tutorial

A List Apart
SitePoint
Good Experience
Digital Web
Dreamweaver
FrontPage

More Color Info

The Meaning of Color
Color Theory
Computer Color
Color Perception
Kodak's Digital Learning Center
Museum of Color
Interactive Presentation

XML Blog News Feed