Is this just for keeping it clean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is this just for keeping it clean?

So I've been learning a bit of html.. still beginning. But are the things like headers and footers, and things like comments (with the <!-- --> tag) just for keeping it clean and knowing where you want what for yourself?

8th Nov 2016, 8:39 AM
YGears
YGears - avatar
2 Answers
+ 2
I am not familiar with headers and footers, but comments of that form are also in fxml which I'm vaguely familiar with. Comments are usually just to enhance readability of code, concise explanations where code function isn't clear is usually nice to have. Those comments provide no functionality to the code itself. Sometimes I also put comments to remind myself to add something.
8th Nov 2016, 9:55 AM
MaxInertia
MaxInertia - avatar
0
aha okay thank you👌
8th Nov 2016, 2:52 PM
YGears
YGears - avatar