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

Chapter 2. CSS Basics > Defining Tags with the Same Rules

Defining Tags with the Same Rules

If you want two or more selectors to have the same definitions, just put the selectors in a list separated by commas. The general syntax for a definition grouping is shown in Figure 2.21.

Figure 2.21. The general syntax for a list of selectors all receiving the same definition list.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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