0
Do comments have to be within the <body> tag?
2 Respostas
+ 2
No, comments can be anywhere in your HTML code. They will be ignored by the browser's renderer anyway, that's why it doesn't matter where you put them.
0
like earlier stated comments can be anywhere for instance in your <body></body> tag place this <!--section 2--> or copy and place in any part of your html document comments are majorly used for descriptions