CSS test with answer - Part 2
- 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
May be interested
- ASP.NET Test - Part 1in the following article, please join the network administrator to learn more about asp.net through extremely interesting multiple choice questions.
- Multiple choice questions on Windows XPsummarize multiple choice questions about windows xp operating system shortcuts, invite readers to try.
- Multiple choice questions on the Internet - Part 3summary of multiple choice questions about the internet. let's try and see if you understand about this topic to where?
- Multiple choice questions about Photoshop - Part 1a set of multiple-choice questions about photoshop for you to try and understand.
- Multiple choice questions on Windows XP part 1summarize multiple choice questions about windows xp operating system shortcuts, invite readers to try.
- What test do you know about the operating system (Part 1)in the following article, please join the network administrator to learn about the operating system through extremely interesting multiple choice questions. let's start.