-
margin
-
spacing
-
padding
-
border
Test of CSS knowledge - Part 6
Test your knowledge of CSS with interesting multiple choice questions.
-
Question 1: What attributes are used to create distances between elements?
-
Question 2: Which attribute is used to create the distance between the border and the content inside the element?
-
margin
-
spacing
-
padding
-
border
-
-
Question 3: What attributes are used to create space between text lines?
-
line-spacing
-
line-height
-
spacing
-
letter-spacing
-
-
Question 4: How can I format the elements on the same row?
-
display: left;
-
display: inline;
-
display: horizontal;
-
There is no right answer
-
-
Question 5: If you want to create an interesting footer attached to the bottom of the user window (not just at the bottom of the page), what attributes would you use?
-
position and bottom
-
display and float
-
position and float
-
display and bottom
-
-
Question 6: What attributes are needed to install an image in the background?
-
image
-
background-image
-
background: image
-
image: background
-
-
Question 7: What is the valid CSS attribute used to place an element on the right side of its container?
-
display: right;
-
float-right: 0px;
-
display-right: 0px;
-
float: right;
-
-
Question 8: In a table, how to get the background color of alternating rows?
-
tr: even {background-color: #CCC;}
-
td: even {background-color: #CCC;}
-
td: nth-child (even) {background-color: #CCC;}
-
tr: nth-child (even) {background-color: #CCC;}
-
-
Question 9: What attributes would you use to change the border of the element?
-
border-size: 5px;
-
border: width: 5px;
-
border-width: 5px;
-
border: size: 5px;
-
-
Question 10: What attributes are used to change the display list type to Roman numerals instead of normal numbers?
-
list-style-type: upper-roman;
-
list-type: roman;
-
list-bullet-type: roman-numerals;
-
list-style: roman;
-
programming language tests
css languages
you know anything about css
CSS learning
web programming
css tests
web programming tests
css knowledge
tests css
css exercises
5 ★ | 2 Vote
Read More
- eQuiz - Multiple choice test on PHP Practice - part 1
- Test of technology terminology - Part 5
- Test TCP / IP knowledge
- The test has a Word answer - Part 7
- Testing computer science knowledge, doing little for fun (part 2)
- Test of technology terminology - Part 8
- Test with Word answer - Part 5
- Testing computer science knowledge, doing little for fun (part 10)
- Testing computer science knowledge, doing a bit of fun (part 7)
- Testing computer science knowledge, doing little for fun (part 9)
- Test of terminology and technology - Part 10
- [QUIZ] Test your understanding of SQL - Part 3
- Testing computer science knowledge, doing little for fun (part 4)
- Multiple choice quiz about Python - Part 10