CBSE Class 10 Computer Applications
Question 10 of 37
Cascading Style Sheets (CSS) — Question 6
Back to all questions 6
Question Question 6
What is the correct CSS syntax for making all the <span> elements bold ?
- span {text-size:bold}
- span {font-weight:bold}
<span style="font-size:bold"><span style="text-size:bold">
span {font-weight:bold}
Reason — The property font-weight specifies the boldness or heaviness for a font. In the given code, the content of span is set to bold.