• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 2. CSS Basics > Defining Classes to Create Your Own Tags

Defining Classes to Create Your Own Tags

Using a class selector gives you the ability to set up an independent style that you can then apply to any HTML tag.

Figures 2.14 and 2.15 show the general syntax of a CSS class rule.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint