-
font-style
-
font-size
-
text-style
-
text-size
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?
-
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
Read More
- Test with Word answer - Part 5
- The test has a Word answer - Part 6
- The test has a Word answer - Part 2
- The test has a Word answer - Part 7
- LAN test with answer - Part 2
- eQuiz - VB.NET testing test - Part 1
- CSS test with answer P4
- Excel computer test - Part 3
- eQuiz - Multiple choice test on ASP (Active Server Pages) Advance - Part 2
- The test has a Word answer - Part 4
- Test with Word answer - Part 1
- eQuiz - Multiple choice test on Java Swing Practice - Part 2
- eQuiz - Multiple choice test on programming language C - part 1
- Testing computer science knowledge, doing a bit of fun (part 7)