MCQ Hive stays free thanks to ads. Please disable your ad blocker for this site so content and features keep working.
Web Development
HTML
Beginner
Q
What is the difference between and ?
AThey are identical in every way
B is deprecated
C is semantic; is stylistic
D marks important content semantically; is purely stylistic boldness
Correct Answer:
D. <strong> marks important content semantically; <b> is purely stylistic boldness
Explanation:
Screen readers and other tools can use to convey importance.
ALSO KNOW (related points):
• validates input in the browser. Is server-side validation still needed? → Yes; client-side validation can be bypassed easily, so the server must always validate
• What is the difference between and ? → is a bitmap drawn with JavaScript (no DOM for its shapes); is vector graphics with each shape in the DOM
• Which element is the most semantically appropriate for a self-contained piece of content such as a blog post or a weather bulletin? →