+ 7
Why should i use the comment tag?
17 Antworten
+ 21
You can also comment some parts of your html code to see how it works without these parts (if you don't want to delete them).
+ 8
use
<html>
<body>
<form>
type your comment<br>
<textarea rows="40" cols="60">
</textarea>
</html>
</body>
</form>
+ 8
to reember what you have done
+ 7
it help for other develoers or any other person when looks to your source to understand what was the code's intetion
+ 6
it's very easy
+ 4
Comments are used in a programming language or in script language remind programmers of what tricky things they just did with the code, or to warn later generations of programmers stuck with maintaining some complex code.
+ 3
As your code continues to grow, you can use comment tags to help identify parts and keep things organized. I've also used it as placeholders as I think through and start to assemble a function/method. You can also use it to block off a header section at the top of your code where you list the name, date, author, version, changes... All kinds great ways to use comment tags.
+ 2
it guide another programmer and remind you of what you've done in coding an html file.
+ 2
if you go through any web pages and right click you get inspect element there any one can read your code then to make it understand to them we use it
+ 2
the comment tag is used to remember the code related to the different components in your webpage
+ 1
to make you understand ur code if your code is so messy
+ 1
if you share your code with group or something
+ 1
to mąkę your video izier to read
+ 1
if you share your code with group or someone and want them to read your comment while editing the text
+ 1
The comentary is used for explain or summarizes certain sections of the code, so that the programmer understands any part of the program without necessarily having to read all the lines of code before edit it.
0
What is the comment ? Until now i don't know what's that
- 3
shameel