Home »
MCQs »
HTML MCQs
Which is the correct syntax to include comment in an HTML document?
3. Which is the correct syntax to include comment in an HTML document?
- //
- /* Comment */
- // Comment //
- <!-- Comment -->
Answer: D) <!-- Comment -->
Explanation:
You can add comments to your HTML source by using the following syntax,
<!-- Write your comments here -->