Try to answer these 800+ CSS MCQs and check your understanding of the CSS subject. Scroll down and let's begin!
A. dimension
B. edge
C. border
A. nocontent-cells
B. empty-cells
C. noborder-cells
D. blank-cells
A. Immediately within the box border
B. Immediately outside the box border
C. None of these
D. Between the padding and the box border
A. To vertically align an image: img { vertical-align:text-top; }
B. It sets the vertical alignment of an element.
C. It sets the vertical alignment of an the entire webpage.
A. !DOCTYPE is specified.
B. !DOCTYPE is not specified.
C. header is specified.
A. spacing
B. align
C. padding
A. a:visited
B. a:hover
C. a:link
A. tracking
B. letter-spacing
C. kerning
A. a:active
B. a:unvisited
C. a:visited
D. a:link
E. a:hover
A. backgroundcolor:
B. background-color:
C. color-bkgd:
D. bgcolor:
E. color-background:
A. font properties
B. vertical-align
C. background properties
D. All of these
E. word-spacing
A. a HEX, e.g., #00ff00
B. All of these
C. an RGB value, e.g., rgb(255,0,255)
D. a color name, e.g., yellow
A. BBEdit
B. TextMate
C. All of these, any text editor will do.
D. Sublime Text
A. All of these
B. Chrome
C. Firefox
D. Internet Explorer
A. <link rel="stylesheet" type="text/css" href="mystyle.css">
B. <stylesheet>mystyle.css</stylesheet />
C. <style src="mystyle.css" />
A. Common Style Syntax
B. Computer Style Sheets
C. Cascading Style Sheets
D. Creative Style Sheet
A. #
B. !
C. &
D. %
A. $ (dollar sign)
B. @ (the "at" symbol)
C. % (percent sign)
D. ! (exclamation point)
E. # (pound sign)
A. just themes
B. styling
C. structure
D. scripting
A. In the <body> section
B. At the beginning of the document
C. In the <head> section
D. At the end of the document
A. <script>
B. <style>
C. <css>
A. {p = margin-left:20px}
B. p {margin-left:20px;}
C. {p: margin-left:20px;}
D. {p: margin-left:(20px)}
A. #
B. </
C. @
D. <
E. .
A. .style
B. .sass
C. .styles
D. .theme
E. .css
A. margins
B. padding
C. border
D. All are correct
A. Common Style for Strings
B. Cascading Style for Strings
C. Common Style Sheets
D. Cascading Style Sheets
E. Community Specification of Styles
A. font-style
B. foont
C. styles-font
D. foont-styles
E. font-decoration
A. In the <title> section
B. In the <head> section
C. In the <body> section
D. At the end of the document
A. <style>
B. <script>
C. <iss>
D. <internal>
A. h1.all {background-color:#FFFFFF;}
B. all.h1 {background-color:#FFFFFF;}
C. h1 {background-color:#FFFFFF;}
A. To request a sandwich
B. It does nothing
C. To call an internal stylesheet
D. To call an external stylesheet
A. the text size in an element
B. the color of an element
C. the height and width of an element
A. W3C
B. Mozilla
C. Apple
D. Microsoft
E. Google
A. When the user clicks it
B. It is a normal link
C. When the user mouses over it
D. When the user has visited it
A. "%"
B. "_"
C. "#"
D. "@"
A. *
B. !
C. ^
D. ~
A. /*This is a comment*/
B. </ This is a comment />
C. #This is a comment#
D. //This is a comment
A. No
B. Yes
A. False
B. True
A. color
B. color-spacing
C. color-space
A. Returns "true" if the background color matches another element
B. Specifies the background color of an element
C. Copies the background color from another element
D. Specifies the background image
A. hsize
B. size
C. x-spacing
D. min-width
E. width
A. font-style
B. text-style
C. font-size
D. text-size
E. size-font
A. all of these
B. color of outline
C. width of outline
D. style of outline
A. y-index
B. a-b testing
C. x-index
D. z-index
A. body {color: black;}
B. {body:color=black(body};
C. body:color=black;
D. {body;color:black;}
A. body { color: red; }
B. { body: color=black(body }
C. { body; color: black }
D. body:color=black
E. body { color; red }
A. color
B. bgcolor
C. background-color
A. the <p > tag
B. a group of elements
C. the <head> tag
D. the <a> tag