Re: ID vs CLASS?

by Charles A Upsdell <cupsdell(at)upsdell.com>

 Date:  Fri, 28 Sep 2001 21:08:29 -0400
 To:  hwg-techniques(at)hwg.org
 Cc:  <amcbainezzell(at)alum.mit.edu>
 In-Reply-To:  baron
  todo: View Thread, Original
An ID must be unique on a page, so only one element on a page can use the 
style defined for an ID.

At 08:03 PM 09/28/01, you wrote:

>Does anyone here know of an explanation of when/why to use CLASS vs ID for
>assigning styles to an element? Is there a difference in the types of
>attributes that can be applied using each approach?

-
Chuck Upsdell
Email:     cupsdell(at)upsdell.com
Website:   http://www.upsdell.com/

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA