Cisco CloudCenter: Get the Hybrid IT Advantage

Hypertext Markup Language Comment (HTML Comment)

Definition - What does Hypertext Markup Language Comment (HTML Comment) mean?

A Hypertext Markup Language comment (HTML comment) is written by a Web developer and acts as a reference during a development project. A developer is able to view HTML comments during development, but this code cannot be seen by website users. Comments can be included within many file types, including HTML, XML and CSS.

HTML comments are commonly used to explain complex table structures or provide documentation of a development project.

Techopedia explains Hypertext Markup Language Comment (HTML Comment)

Most programming languages and environments include comments, which may serve any of the following functions:

  • A method of describing and simplifying a complex part of a project
  • Offering more details about why code is written in a particular way, allowing developers to understand each other
  • Allowing unconfirmed code to be temporarily omitted without deletion

The last listed function is quite useful when unconfirmed code is verified and later turned into an essential part of the project. When this occurs, the developer removes the comment symbols, and the previously hidden code becomes functional.

There are numerous recommendations on writing comments. For example, developers should use simple words as often as possible, as a comment is meant to make code more understandable. Before continuing a project, all earlier comments should be double-checked.

Certain developer tools support the easy inclusion of comments. Example tools are Dreamweaver page notes and FrontPage file summary.

Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.