Advertisements
Advertisements
Question
What is the correct CSS syntax for making all the <span> elements bold?
Options
span {text-size:bold}span {font-weight:bold}<span style="font-size:bold"><span style="text-size:bold">
MCQ
Advertisements
Solution
span {font-weight:bold}
Explanation:
The boldness or heaviness of a font is specified by the font-weight property. The span’s text is bolded in the provided code.
shaalaa.com
Is there an error in this question or solution?
