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

6. Cascading Style Sheets > 6.6. Advanced Styles

Advanced Styles

Tag and class styles are the most common types of styles, but they aren’t the only ones available. There are many other types with various functions and purposes, but Dreamweaver lumps them together under the term advanced styles. To be technically accurate, tag and class styles aren’t really styles per se. In CSS-lingo, they’re known as different types of selectors.

A CSS selector is an instruction that tells a Web browser what it should apply the CSS formatting rules to. For example, a tag selector tells a browser to apply the formatting to any instance of a particular tag on the page. Thus, an <h1> tag style will apply to all <h1> tags on a page. A class selector, on the other hand, only applies when the browser encounters the class name attached to an element on a page.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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