1. ________ allow you to specify the style of your page elements (spacing, margi
ID: 3555652 • Letter: 1
Question
1. ________ allow you to specify the style of your page elements (spacing, margins, etc.) separately from the structure of your document.
2. ________ are specified in an individual HTML element using the style attribute.
3. Give an example of a proper way to apply this CSS rule: .blue { color: blue; }
4. How will the following CSS rule alter the web page if it is applied in a style sheet? h1 { font-family: Arial, sans-serif; }
5. What is the significance of the following CSS rule? li em { color: red; font-weight: bold; }
6. In which element do you set the MIME type of an external style sheet?
7. Which CSS property for the background can be used to specify that scrolling will not move the image from its set position?
8. Which CSS property can be used to set the darkness or boldness of the font?
9. Elements which have absolute position are automatically ________ the text flow.
10. In the box model, the content of each element is surrounded by ________________.
11. If the CSS3 text-shadow propertys horizontal offset is -10, the text-shadow will appear ________.
a) to the right of the text b) above the text c) below the text d) to the left of the text
12. The ________ property adds a shadow to an element.
a) text-shadow b) box-shadow c) blur-radius d) linear-gradient
13. CSS3 allows you to add multiple background images to an element. Each images placement is specified using property ________.
a) backgroundimage b) background-position c) background-origin d) image-background
14. If you do not include the animation-play-state, it defaults to ________.
a) play b) run c) paused d) running
15. CSS3 ________ allow you to change an elements style over a specified duration.
a) transitions b) transformations c) animations d) selectors
16. CSS3 ________ allow you to move, rotate, scale and skew elements.
a) selectors b) transitions c) transformations d) translations
17. Using the ________, you can specify fonts for a web page, even if they're not installed on the users system.
a) @font-face rule b) @font rule c) @media rule d) font-family property
18. The ________ specifies that the font will be used when the document is rendered on a computer screen.
a) @font-face rule b) @media rule c) @media screen rule d) font-family property
19. ________ make(s) it easy to align the contents of boxes, change their size, change their order dynamically, and lay out the contents in any direction.
a) The Flexbox Model b) :nth-child selectors c) The Box Orientation d) The Flexible Box Layout Module
20. CSS3 allows you to create multicolumn layouts using the ________ property.
a) column-rule b) column-count c) column-gap d) column-style
Explanation / Answer
1. CSS
2. Inline Styles
3. For that you need to specify the "class=blue" attribute for the specific element which you want in blue colour.
for example:
4. All the lines which are specified or printed using the h1 heading(h1 heading is the largest heading you can have in a html page) will have the font Arial. But if the browser doesnt support the Arial font then it takes the San Serif font.
5. All the html lists irrespective of ordered or unordered have colour red and bold.
6. link element
7. background-attachment : fixed
8. font-weight (font-weight: normal|bold|bolder|lighter|number|initial|inherit; are the available possibilities)
9. shared with
10. borders
11. d) to the left of the text
12. b) box-shadow
13. b) background-position
14. d) running
15. a) transitions
16. c) transformations
17. a) @font-face rule
18. b) @media rule
19. d) The Flexible Box Layout Module
20. b) column-count
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.