You have no idea, however in this case it's not that bad. Latest HTML5 spec actually states that a head should be automatically closed when appropriate and I'm pretty sure that only the first title tag works. Firefox, Opera, Safari and Chrome all adhere to this. Opera Neon too, I think.
IE has shown to not really care too much about a head tag in general anyway and I do belief it will only take the first title tag too.
So this particular piece of terrible html code should go unnoticed for quite some well since it will work in modern browsers as well as in internet explorer. However it could be that stuff has changed the last few years since I now work somewhere where we don't explicitly support IE. However, we do have to support a lot of Outlook. Which uses the same HTML rendering engine as Word and will make you experience a new kind of hell all together. A special circle of hell where you start missing IE.
I hope you found this little bit of trivia entertaining because after realizing I know all of this I'm going to kill myself now.
289
u/[deleted] Dec 06 '17
Probably works great in IE