CSS test with answer - Part 2
A set of multiple choice questions about CSS programming for you to try and understand.
- Question 1. What properties change the font size?
- font-style
- font-size
- text-style
- text-size
-
- Sentence 2. Which attribute makes the text in tag p become bold?
- {text-size: bold}
-
-
- p {font-weight: bold}
-
- Question 3. How to display links without underlined below?
- a {decoration: no underline}
- a {text-decoration: no underline}
- a {underline: none}
- a {text-decoration: none}
-
- Question 4. How can each word in a form be capitalized at the beginning?
- text-transform: capitalize
- text-transform: uppercase
- You cannot do this in CSS
- There is no right answer
-
- Question 5. How to change the font of each element?
- font =
- f:
- font-family:
- All of the above statements are wrong.
-
- Question 6. How to create bold letters?
- font-weight: bold
- style: bold
- font: b
- All of the above are true
-
- Question 7. How to display the border of an element with the following border size: The top border = 10 pixels The bottom border = 5 pixels The left border = 20 pixels The right border = 1pixel?
- border-width: 5px 20px 10px 1px
- border-width: 10px 5px 20px 1px
- border-width: 10px 1px 5px 20px
- border-width: 10px 20px 5px 1px
-
- Question 8. How to change the left margin of an element?
- margin-left:
- text-indent:
- margin:
- indent:
-
- Question 9. To define the space between the edges (edges) of the element and the content, you use the padding attribute, can you assign a negative value to this attribute?
- Have
- Is not
-
- Question 10. How does the image at the top of each content of 1list have a square?
- type: 2
- type: square
- list-type: square
- list-style-type: square
-
4 ★ | 1 Vote
You should read it
- eQuiz - A quiz about CSS
- CSS test with answer - Part 1
- CSS test with answer P3
- eQuiz - Multiple choice test on SQL
- eQuiz - Multiple choice test on ASP
- JAVA test on P6
- Test of CSS knowledge - Part 5
- Test of CSS knowledge - Part 8
- JAVA test on P3
- JAVA test test P1
- Test on JAVA test P5
- Test of CSS knowledge - Part 9