Home »
MCQs »
HTML MCQs
Can we hide inline content using the comment?
5. Can we hide inline content using the comment?
- Yes
- No
Answer: A) Yes
Explanation:
Yes, the comments can be used to hide inline content. Here is the syntax,
<p>Hello, world! <!—This is some text --> How are you?</p>