+ 1

I don't understand <!-- this is a comment -->

Help I don't understand it

10th Feb 2020, 7:38 PM
Hesham
Hesham - avatar
8 Antworten
+ 7
<!-- --> are used to add comments in html. These comments are ignored by browser and are not show in the output. Example: <!-- you can write comments here... -->
10th Feb 2020, 7:55 PM
VEDANG
VEDANG - avatar
+ 5
A comment is not ran as an output in your browser. There are many different examples for comments, pending on the language. That one is an HTML tag, meaning it will only work in HTML code.
10th Feb 2020, 9:01 PM
Green Ghost
Green Ghost - avatar
+ 3
Comments are there to help you and other coders.
10th Feb 2020, 10:27 PM
Sonic
Sonic - avatar
+ 3
That's just the style of html comments. Other languages have different comment styles.
10th Feb 2020, 10:28 PM
Sonic
Sonic - avatar
+ 2
Thanks guys for helping me
10th Feb 2020, 10:36 PM
Hesham
Hesham - avatar
0
For comment in HTML language
11th Feb 2020, 4:24 PM
Coder
Coder - avatar
0
The browser does not display comments, but they help document the HTML and add descriptions, reminders, and other notes.
12th Feb 2020, 4:47 AM
ℓєgιση αятιѕт
ℓєgιση αятιѕт - avatar