Single-line comment in HTML

0 votes
Is there a way to comment out a single line in HTML using just an escape sequence at the start of the line?

Similar to using # or // in other languages? Or is <!-- ... --> the only option for commenting in HTML?
Aug 12, 2022 in HTML by Tejashwini
• 3,820 points

edited 5 days ago 10 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP