Updates
  • Starting New Weekday Batch for Full Stack Java Development on 15 September 2025 @ 02:00 PM to 04:00 PM
  • Starting New Weekday Batch for MERN Stack Development on 29 September 2025 @ 04:00 PM to 06:00 PM
Join Course

HTML Comments

• Comments in HTML are used to add notes or explanations that are not displayed on the webpage.
• Comments are helpful for developers to document their code, provide reminders, or temporarily disable certain sections.
• To create a comment, use the <!-- to start the comment and --> to end it.
• Anything written between <!-- and --> is considered a comment and is ignored by the browser when rendering the page.
• Comments are useful for collaboration, troubleshooting, or making code more understandable for others who may work with it.

            
<!DOCTYPE html>
<html>
<head>
    <title>Comments</title>
</head>
<body>
    <h1>Welcome to JTC</h1>
    <div>
        <p>Html Comment example</p>
        <!-- This is First Div -->
    </div>
</body>
</html>