Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ Adding metadata in <body></body>

Posted by: Anjali Agarwal Jun 2 2020, 12:46 PM

Why does adding metadata in <body></body> work?
Conversely, why does adding the body content in <head></head> work?

Posted by: pandy Jun 2 2020, 06:23 PM

Browsers tend to try to mend our mistakes. But they don't always do it to the same degree or in the same way. And things may work under some circumstances in spite of errors, but under others they don't. Typically the more CSS and JS that's involved, the more obvious the errors will be.

Powered by Invision Power Board (
© Invision Power Services (