As you write your markup, you will notice that it will get long, and sometimes, you will need to explain some of the actions and decisions that you committed yourself to.
Luckily, HTML has a means of leaving notes and messages not only to yourself, but to other people who will need or want to read your document.
Comments provide the luxury of insight and reflection to something where there sometimes can be no room for being lost in translation. On an HTML document that is over 100 lines long, having comments can give anyone who reads the document perspective and information regarding the material.
When loaded to a browser, comments can only be read when loaded up in the developers tool of that browser. This can give you the chance to send personal messages without everyone seeing them.
how we do...
To place a comment; use an open bracket, followed by an exclamation point with two dashes. Insert your needed coment, and close it out with two dashes and a closing bracket. For example...
<!-- This is a comment. --> <p>This is sample text</p>
There you go. This is how you perform one of the most used and important forms of syntax in HTML authoring.
Encycodepedia is a reference guide to the common syntax and terminology used in everyday programming.
Encycodepedia HTML covers the structural component of building websites.