Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any reason at all, for an extra return after </html>?

Tags:

html

Are there any microscopic reasons at all (beyond superstition), to add an extra return after </html> in (X)HTML documents?

Is there any significant reason at all, not to stop this habit of mine? (To me, it looks a lot cleaner with the last line number being the same as the last bit of code, but I'm curious to know if there are any known consequences/possible effects between keeping or not keeping the extra return, such as the last line not being interpreted or something like that.)

like image 584
Henrik Avatar asked Nov 30 '22 07:11

Henrik


1 Answers

It's just superstition. If I remember correctly, one of the earlier IE versions (2 or 3) would throw an error if you didn't have an extra line break there, but I think that hasn't mattered for quite some time.

like image 120
TheSmurf Avatar answered Dec 24 '22 04:12

TheSmurf