Question
1. Which of the following is NOT a part of the CSS box model? Padding Background Content Float 2. When you have too much content
1. Which of the following is NOT a part of the CSS box model?
Padding
Background
Content
Float
2. When you have too much content to display in the defined area, it's best to use the _________ property to allow the viewer to scroll the additional material.
visible
hidden
scroll
overflow
3. The space between the border of the element and other elements in the window is called?
Margin
Padding
Background
Outline
4. CSS3 uses a simple method for rounding off one or all of the corners of an element's box using the ________ property.
radius
rounded
style
border-radius
5. The area of the display area within a window is called:
The content
The viewport
The document
None of the answers are correct.
6. The _________ positioning type tells the element to use the same positioning type as its parent, overriding the default static value.
fixed
inherit
relative
None of the answers are correct.
7. Which one of the following elements will appear on top in the stacking order?
An element with a z-index of -2
An element with a z-index of -4
An element with a z-index of 1
An element with a z-index of -8
8. When setting an element's shadow a(n) __________ length value is a positive value that increases the fuzziness of the shadow and spreads it out.
spread
blur
y-offset
x-offset
9. Which one of the following CSS properties cannot be transitioned?
background-color
letter-spacing
box-shadow
margin-right
10. The _________ transition-timing-function value speeds up a transition.
ease-out
ease-in
ease-in-out
linear
11. The transform property used for the Safari Web browser is written as ___________.
-webkit-transform:
-moz-transform:
-o-transform:
transform:
12. When transforming an element, the three-dimensional perspective property defines a ________.
height
depth
width
skew
13. The ____________ defines the behavior of the transition's speed as it progresses.
transition-delay
transition-duration
transition-timing-function
transition-speed
14. Internet Explorer allows the use of _________ that will only be applied to Internet Explorer and its specific versions.
conditional styles
progressive enhancement
special quirks mode commenting
None of the answers are correct.
15. According to your book, the easiest technique to use for resetting styles is to use the:
YUI2: Reset CSS
clearfix class
overflow fix
universal selector
16. Consider this code: The above code is an example of an:
underscore hack
IE clearfix
IE conditional
IE overflow fix
17. According to your book, designers like to reset the following main styles because they vary so much from browser to browser:
Font-size and color
Image backgrounds and position
Floats and paragraph elements
Padding, borders, and margins
18. __________ accommodate visitors to your Web site who use a keyboard or speech-recognition software to navigate the Web.
Drop-down menus
Access keys
Multicolumn layouts
Progressive enhancements
19. The CSS _________ technique lets you create a single image that contains different image states. This is useful for buttons, menus, or interface controls.
float
multicolumn layout
drop-down menu
sprite
20. When floating is applied to a design, the columns flow _________ next to each other.
horizontally
vertically
stacked
parallel
21. When creating a readable style sheet, putting the @rules at the top is important because:
The CSS file is read in alphabetical order.
Many of them won't work unless they are placed at the top.
They must be defined as constants.
None of the answers are correct.
22. The ___________ CSS Framework uses ems to create elastic layouts.
Typogridphy
YUI Grids
Blueprint
Emastic
23. Consider the following code: .copy { fontsize: 12em; } What error is present within the above CSS declaration?
copy is not a valid class name
em is not a valid form of measurement for a font size
The CSS property contains a typo
There are no errors.
24. Which of the following is an advantage of minifying your CSS code?
It reduces the file size.
It reduces errors.
It allows you to insert comments.
None of the answers are correct.
25. Not setting the link relation using the rel attribute within the link tag of the HTML document may result in:
Many browsers not loading the external style sheet.
The entire Web page producing a 404 Error.
The Web page being viewable in Firefox only.
None of the answers are correct.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started