Tuesday, August 2, 2011

CSS Id and Class





CSS uses elements class and id to style the particular element

Id selector is indicated using the "#" symbol while defining the style and class selector is defined as dot "." to describe the style for particular style for that element.

Example



Using Id selector

Using class selector



No comments:

Post a Comment