CSS 1. ________ allow you to specify the style of your page elements (spacing, m
ID: 3549643 • Letter: C
Question
CSS
1. ________ allow you to specify the style of your page elements (spacing, margins, etc.) separately from the structure of your document.
a) Filters
b) Style declarations
c) Cascading Style Sheets
d) Text flows
2. An example of the proper format for inline styles is:
a) <p style =
allow you to specify the style of your page elements (spacing, margins, etc.) separately from the structure of your document. Filtersb) Style declarations Cascading Style Sheets Text flows An example of the proper format for inline styles is: Style sheets use which of the following MIME types?j image/gif text/javascript text/css text/html In the body of a style sheet, a CSS property is separated from its value by a. dot CSS operator colon semicolon ultiple CSS rule properties in style sheets are separated by a. dot CSS operator colon semicolon Which of the following selections is the proper way to apply this CSS rule: .blue { color: blue } How will the following CSS rule alter the web page if it is applied in a style sheet? h1 { font-family: Arial, sans-serif } All text in h1 elements will have the Arial font, while text in other elements will use a sans-serif font. All text in h1 elements will have use a sans-serif font, while text in other elements will use Arial. All text in h1 elements will have the Arial font if sans-serif is not supported by the system. All text in h1 elements will use a sans-serif font if Arial is not supported by the system. The hover pseudo-class allows you to change to an element's style in which situation? When the mouse is over the element When the mouse moves off of the element When the mouse is to the left of the element None of the above To which text does the following CSS rule apply: li em { color: red; font-weight: bold } text text and text both a and b neither a nor b . To which text does the following CSS rule apply: li, em { color: red; font-weight: bold } text textc) text all of the above . Which of the following is NOT a relative-length measurement? 1.5em 20px 12pt 5ex . External style sheets are saved with the extension. .html .txt .css .txtcss . If an element's position is declared as absolute then. positioning of the element is handled by the browser positioning is handled by the normal flow of elements on the page positioning is set according to the margins of its parent element positioning is handled by relative positioning Elements which have absolute position are automatically the text flow. removed from set by controlled by shared with Which of the following settings for a background image can be modified to create a "watermark" effect where scrolling will not move the image from its set position. background-imageb) background-position background-repeat background-attachment Which is not a valid value for the background-position property? left ontop right center When using the width, height and overflow properties of an element, position can be. absolute relative both a and b none of the above Setting the width property to 10em will create an element that has a width that is. size 10pt 10 times smaller than the font size 10 times larger than the font size italicized and 10 pt in size The property specifies the distance from other page elements. padding border margin float The is the distance between the content inside an element and the inside of its border. padding border margin floatExplanation / Answer
1,c)
2.d)
3.c)
4.c)
5.a)
6.b)
7.d)
8.b)
9.a)
10.d)
11.d)
12.c)
13.c)
14.b)
15.a)
16.b)
17.c)
18.b)
19.a)
20.b)