In this blog post, you will learn about adding Comments in HTML. Adding Comments is very easy in HTML. Comments used in html are known as html Comments. These HTML Comments are not visible to any user. Let us learn about it in detail about it:-
![Comments in HTML](https://codeblockx.com/wp-content/uploads/2023/02/codeblockx-54-768x432.png)
The comments are used to write the explanation of the code which is not visible to the user and It helps increase the understanding of the code and make it easily readable for the coder or developer. Let us learn more about it with some examples:-
The syntax to add the comments is:- <!– Comment Here –>
Single Line Comment:-
Index.html
OUTPUT
![Comments in html](https://codeblockx.com/wp-content/uploads/2023/02/Screenshot_20230228_105540.png)
Multi Line Comment:-
Sometimes in HTML code, We need to add multiple lines in the comment to describe the code or any function of code. So we need to add multiline comments in it. We can use the same syntax as of the simple comment to add muti comment.
Index1.html
OUTPUT
![Multi line comment](https://codeblockx.com/wp-content/uploads/2023/02/Screenshot_20230228_111350.png)
Browser that supports Comments:-
Browser | Support |
---|---|
Chrome | Yes |
Internet Explorer | Yes |
Firefox | Yes |
Opera | Yes |
Safari | Yes |
As you have now mastered this topic. You should now move a step ahead and Learn HTML in Detail. So check out the detailed blog post on it, that will definitely help you out. We have solved a large number of the most asked questions.
Hope this blog post was helpful to you and you have got the answer to your question. Thank you for visiting our blog. If you have any doubts about the coding questions then let us know in the comments section we will answer them as soon as possible.
Купить курсовую работу – нам можно доверять!
решение задач по электротехнике онлайн https://www.best-students.ru/.
Готовые дипломы и куски исследования на заказ
решение задач по математике https://www.studlink.ru/.
Важность коронарографии для профилактики заболеваний сердца
коронарография сосудов сердца цена в москве http://k311.ru/.
Узнайте больше о томографии магнитно резонансной
магнитно резонансная томография коленного сустава https://www.k311.ru/service/magnitno-rezonansnaya-tomografiya.
Применение ангиографии для диагностики расстройств кровообращения
мр ангиография https://www.k311.ru/service/kardiologiya/angiografiya.html/.