Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML Comment after </html>

Tags:

comments

html

Is this safe for most modern browsers or will it turn into a huge abomination?

eg:

<html>
<head>
<title>Please work</title>
</head>
<body>
My Awesome Body
</body>
</html>
<!-- Generated in 1.337 seconds -->
like image 599
Jonas Kaufmann Avatar asked Feb 27 '13 20:02

Jonas Kaufmann


1 Answers

My guess is that, as long as you keep the DOCTYPE declaration at the very top of the page, you shouldn't have any issue with placing comments anywhere you want.
Although, it is best to always try for different browsers.

like image 136
mavrosxristoforos Avatar answered Nov 13 '22 17:11

mavrosxristoforos