@
@
@Richswitch2017-11-16 10:58:41
css
@Richswitch, 2017-11-16 10:58:41

Why do files of different extensions have different styles for adding comments?

Hey!
For files with the extension, .css, .jsthe comments look like this /* */
For HTMLlike this <!-- -->
For .sasslike this //
Is there any historical reasons for this phenomenon or are there other reasons?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2017-11-16
_

They are different languages ​​with different syntax. And they have a lot more differences, by the way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question