Everything about comments in HTML

Everything about comments in HTML

When anyone starts working in any company, he or she has to understand the code written by the previous developers of the company. Understanding the code by reading the code itself is a very time-consuming process. Comments can help the developer in understanding the code without reading the code itself. Comments are the text written in the code which is only seen by the developer but not by the interpreter. the comments help in understanding the code in very less time. If we write the code for sorting any array then we can write the comment of sorting the array and read the comment later besides reading the whole code of sorting the array. Writing comments is considered a very good practice for a developer.