Clear, practical technology insights About · Contact

Caption tags in HTML

The comment tag is used to insert comments into the source code of HTML.

Author: Kareem Winters1 minutes read
Table of Contents

The comment tag is used to insert comments into the source code of HTML.

Comment tag in HTML

You can add comments to the code in HTML using the syntax below.

Note that the opening card has an exclamation mark (!) But the closing card is not available. These annotations will not be displayed on the browser, but can make HTML source code easier to track, you can add comments, reminders, annotations .



Network admin is the page .



These notes are also very useful when you need to fix HTML errors, for example, say what each line of code should do.

Previous article: Citation elements in HTML

The following article: Colors in HTML

Was this article helpful?

Your feedback helps us improve.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.