Style rules contained in affect only the document in which they reside a an

Style rules contained in affect only the document in

This preview shows page 3 - 6 out of 8 pages.

11.Style rules contained in ____ affect only the document in which they reside.a.an internal style sheetc.the <body> tagb.an inline styled.an external style sheetANS: APTS:1REF:15612.CSS comments begin with ____.a./?c./*b.*/d.?/ANS: CPTS:1REF:15713.The elements in an HTML document are structured in a hierarchy of ____ elements.14.____ elements contain nested elements called ____ elements.15.The simplest type of selector is the ____ selector.16.When grouping selectors, the selectors are separated by ____.a.semicolonsc.periodsb.colonsd.commasANS: DPTS:1REF:16217.When combining declarations, the declarations are separated by ____.18.The symbol for the universal selector is the ____.19.The ____ selector lets you write rules, give them a name, and then apply that name to any elements you choose.20.In a style rule,the ____ flag character indicates that the selector is a class selector.a.question mark (?)c.semicolon (;)
Background image
b.period (.)d.colon (:)ANS: BPTS:1REF:16721.The ____ element can be used with the class and id attributes to create logical divisions on a Web page.a.<span>c.<class>b.<div>d.<paragraph>ANS: BPTS:1REF:17022.The ____ element lets you specify inline elements within a document that have their own name and style properties.23.Pseudo-____ select elements based on characteristics other than their element name, such as changing the color of a new or visited hyperlink text.24.The fact that style sheets ____ means that multiple style sheets and style rules can apply to the same document.25.The ____ states selectors let you choose an element based on its state of user interaction.a.hoverc.W3C attributesb.pointerd.UI elementANS: DPTS:1REF:183COMPLETION1.____________________ let you control the display characteristics of your Web site.ANS:Cascading Style Sheets (CSS)CSS (Cascading Style Sheets)Cascading Style SheetsCSSPTS:1REF:1512.A set of style rules is called a(n) ____________________.ANS:style sheetPTS:1REF:152
Background image
3.In a style rule, a declaration contains a(n) ____________________ and a value.ANS: propertyPTS:1REF:1534.In a style rule, the ____________________ is the precise specification of the property.ANS: valuePTS:1REF:1535.Placing style sheets in a(n) ____________________ document lets you specify rules for multiple Web pages.ANS: externalPTS:1REF:1556.The ____________________ is useful for testing styles during development.ANS:style attributePTS:1REF:1567.You can style multiple document elements with just a few style rules if you let ____________________ work for you.
Background image
Image of page 6

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture