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

Workshop

The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.

Quiz

1: What is the term used to describe a CSS class's label?
A1: A selector is the label used to reference a CSS class.
2:Describe the components of a style declaration.
A2: A style declaration is composed of a style property (such as stroke) and a style value (such as green) separated by a colon.
3:Style sheets are contained within what element?
A3: An internal style sheet is contained within a CDATA section, which is contained within a style element.
4:What is the function of a CDATA section?
A4: CDATA sections are used to prevent their contained content from being parsed as SVG by an SVG viewer. Nonetheless, CDATA's content must adhere to the XML syntax rules for the element. For more information on CDATA, see the W3School's example: http://www.w3schools.com/xml/xml_cdata.asp.
5:What does the author recommend naming class selectors according to?
A5: Naming selectors according to their declaration's function allows other developers the ability to discern the function of a class without needing to reference the style sheet.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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