Create a Website
CSS Tutorial
FREE Domain!
Any web hosting you subscribe with DotEasy will get you a FREE domain name registration.
PLUS you get:
  • FREE Website Builder
  • FREE Blog
  • FREE Forum
  • FREE Photo Album
  • FREE Email Accounts
Get your FREE domain name today!
Home > HTML Help & Tutorial
SSD Web Hosting with FREE Domain

You can include a comment in an HTML file. A comment will not be displayed on web page and will help you remember why you coded something in a particular way.

Comment Tags

The comment tag is used to insert a comment in the source code. Make sure to insert two hyphens after the exclamation mark and two hyphens before the great-than sign. Let's say the comment was "This is my comment", you would type:
<!-- This is my comment. -->

Note: You won't see the comment on the web page. It's ignored by browsers. The comment is only visible in the source code.

Enjoy this tutorial?

1. Link to this page(copy/paste into your own website or blog):
2. Add this page to your favorite social bookmarks sites:
3. Add this page as your favorites. (Press Ctrl+D)