Tuesday, July 28, 2009

Class

class selecter is one of the most popular ways of implementing styles on html elements
subset of elements




text text text text text text


text text text text text text





This will get the top paragraph bold and the next not.
IF you chose not to put the p tag in and just keep in .emphasise, then in andything in the body, it assumes that this is a universal selecter. so anything that has the class name emphasise.

No comments:

Post a Comment