Test Series - css

Test Number 36/59

Q: Which of the following element is used within the table element to define a caption?
A. 
B. 
C. 
D. 
Solution: None.
Q: Which of the following property is used to specify table borders in CSS?
A. table
B. border
C. table:border
D. none of the mentioned
Solution: Example: table{border: 7px solid black;}
Q: Which of the following property sets whether the table borders are collapsed into a single border or separated:?
A. border
B. border-collapse
C. collapse
D. table-border
Solution: Example: table{ border-collapse: collapse;}
Q: Which of the following property is used to change the width of table?
A. width
B. table
C. table-width
D. resize
Solution: Example: table{width: 23px;}
Q: Which of the following property sets the vertical alignment?
A. align
B. vertical
C. vertical-align
D. vertical-alignment
Solution: Example: table{vertical-align: top;}
Q: Which of the following property is used to control the space between the border and content in a table?
A. border
B. margin
C. padding
D. resize
Solution: Example: table{border: 4px solid black;}
Q: Which of the following property is used to change the background in a table?
A. table-background
B. background
C. color
D. none of the mentioned
Solution: None.
Q: Which of the following property is used to change the height of a table?
A. height
B. table-height
C. resize
D. position-y
Solution: Example: table{height: 45%;}
Q: Which of the following property is used to align the text in a table?
A. align
B. text
C. text-align
D. none of the mentioned
Solution: Example: table{text-align: left;}
Q: Which of the following property is used to set order in a table?
A. border
B. padding
C. dotted
D. text
Solution: Example: table{border: 1px solid #000;}

You Have Score    /10