Give a working CSS fix for A heading should appear bold without using the deprecated <b> styling approach in CSS. in a student portal.

CSS Published Updated 0 Views Verified
Problem: A heading should appear bold without using the deprecated styling approach in CSS. Context: This CSS troubleshooting question uses a student portal example. Correct approach: Set the font-weight property. Working CSS: h1 { font-weight:700; }
Looking for the latest Sarkari Result 2026 updates? Check the latest government exam results, merit lists and result updates on Sarkari Resultess.
Sarkari Resultess
Questions & Answers

Answer & Explanation

4 Answers
Verified

A. Common but incorrect approach

h1 { text-bold:true; }
Additional Explanation
This approach does not directly implement the required CSS behavior.
Sarkari Resultess
Editorial Answer 1
Verified Correct Answer

B. Correct CSS solution

h1 { font-weight:700; }
Additional Explanation
Set the font-weight property.
Sarkari Resultess
Editorial Answer 2
Verified

C. Incorrect CSS alternative

h1 { weight:bold; }
Additional Explanation
This is not a valid CSS property or does not solve the stated problem.
Sarkari Resultess
Editorial Answer 3
Verified

D. Another incorrect approach

h1 { font-style:bold; }
Additional Explanation
This does not address the underlying CSS layout or styling issue.
Sarkari Resultess
Editorial Answer 4