How To Create Comments In Html
Comment in HTML
The purpose of commenting in HTML is to let your co-worker know that I am designing a web page for a company today as a web designer. Maybe after tomorrow's sum, I will resign and some other employee will come and work on the same web page so that what I am writing today will help him. I can explain why I put specific tags or what I did when designing the web page. So there will be cycles inside the comments. Writing a Comment in HTML is a good practice when you are working on a large document. It will help you. In a few days, I will make a bigger document like today. I can read age comments and I'll get my information back
Why do developers write comments in HTML?
If you are a developer, one thing you will notice is that we have to code a lot when we are working on a website or project. There is a system that can give an overview of what we have done with the code. Through Comment L, we can understand in the future what this code has been used for. They have to read various problems. You can understand better by giving examples. Suppose people are working for 10 people on one project. Now one person will not be able to understand another person's code. If you don't use the Comment, your ability to understand it is reduced by 80%. If you use the Comment in HTML, your ability to understand it increases by 80%.
Why write HTML comments?
So let's see how to write an HTML comment now. I have already created a demo page in the context of the comment. The comment where I gave the title does not come up in the browser then you can type some information about a particular category or your web page which will be helpful for new developers or new designers who will work on the same page and after typing the text you can do it again. Can stop. Close the bracket so let's save it and come to the browser where it was refreshed and see that the comment does not come in the browser but I can't see any comment at the top of the tour.
Code examples
<! DOCTYPE html> <html> <head> <title> HTML Comments </title> </head> <body> <! - This Is a Comment -> <! - -> <h2> This Headline Is Out Of Comment. </h2> <h3> This Headline Is Inside Of Comment. </h3> <! - <section> <p> We can easily find that section by looking at the comments in a short time. Moreover, many times we are grouped on the web siteYou have to make it. If someone does design work, maybe someone else does development work. Then the code that the designer did is the developerThe section of the help codes of this comment can be easily found. Comments are not visible in the browser. Comments are designer onlyThis is done for the benefit of the developer. </p> </section> -> <p> It will be displayed in the browser as it is out of comment. </p> </body> </html>
The result
How To Create Comments In Html
Source: https://beginnerwebdeveloper.com/html/how-to-learn-html-comment-in-html/
Posted by: hammittlever2000.blogspot.com

0 Response to "How To Create Comments In Html"
Post a Comment