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

Selectors: HTML, Classes, IDs

Selectors: HTML, Classes, IDs

There are three basic types of HTML selectors used to redefine styles on a Web page:

HTML

To redefine the styles of a particular HTML tag, use that tag’s selector, followed by its new (or revised) attributes (Figure A.6). This will change the appearance of all HTML tags with this selector.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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