asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Elements > HTML Comment Element

<HTML Comment> Element

HTML Input Elements


Prevents any enclosed text or HTML source code from being parsed and displayed in the browser window.

Remarks

Comments can contain other HTML elements. Comments do not nest.

NOTE: Both start and end tags are required.

Attributes

The <htmlcomment> element has no attribute of its own, but supports global attributes common to all HTML elements.

Example

<!-- This text will not appear. -->
See Also



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note