Comments in HTML browser me show nahi hote, but code ke andar notes likhne ke liye life saver hote hain.
HTML Comment Tag
Syntax:
![]()
Comments in HTML Start tag me ! hota hai, end tag me nahi. Browser comments ko ignore karta hai, matlab user ko dikhenge nahi.
Add Comments
Aap comments ka use karke reminders ya explanation likh sakte ho:
Example:

Ye sirf developer ke liye hai, user ko kuch nahi dikhega.
Hide Content
Temporary kisi content ko hide karna ho? Toh comment kar do.
Example:

Aap multiple lines bhi hide kar sakte ho.
Example:

Jo bhi <!– aur –> ke beech me hai, sab invisible ho jayega.
Hide Inline Content
Sirf ek chhota part hide karna ho paragraph ke beech me? Uske liye bhi aap comments in HTML use kar sakte ho
Example:
![]()