Updated
1. A CSS rule consists of which three parts? Declaration, Declaration block, Se-
lector
2. Valid ways CSS can be implemented Embedded, External, Inline
3. True or false? An inline style does not use a True
selector.
4. True or false? A website should use an external True
stylesheet to create styles that apply to all web
pages.
5. Valid selector types used in CSS Class, Descendant, Element, ID,
Pseudo-class
6. The box model includes which components? Border, Content, Margin, Padding
7. Four values the CSS position property uses Absolute, Fixed, Relative, Static
8. CSS property for vertical alignment of images Vertical-align
9. Definition of padding Defines a transparent area around
the content.
10. Definition of margin Defines a transparent area outside
the border.
11. CSS property that defines how far background Background-clip
should extend
12. CSS property specifying origin position of back- Background-origin
ground image
13. CSS property specifying size of background im- Background-size
ages
, 14. Four CSS combinator selectors Adjacent sibling (+), Child (>), De-
scendant (space), General sibling
(~)
15. Selector: [class^="col"] All HTML elements with a class at-
tribute value that begins with "col".
16. Valid word-break property values Break-all, Break-word, Keep-all,
Normal
17. CSS property to break and wrap long words Word-wrap
18. CSS property for 2D or 3D transformation Transform
19. True or False? JavaScript code needs to reside False
inside HTML documents to run.
20. True or False? Client-side scripts can be disabled True
from browsers.
21. True or False? JavaScript is embedded into True
XHTML or HTML using the script tag.
22. A calculator is a real-world object. Which are Add, Subtract
methods of the calculator object?
23. Which option declares a variable called age and var age = 24;
assigns an integer value of 24 to it?
24. Does JavaScript run on the server or on the user Agent/Client side
agent/client side?
25. True