Can I put CSS style tag inside body?

October 11, 2018 No comments html css QA

It is ALLOWED to put style tag inside body and everything on your website should work great, according to W3.org, however it is not recommended. Styles should be put in head tag to avoid realoading/rerendering page when the browser finds css down in the website tree, and also because it is a good practice. Every web developer expect styles to be in head, so you should follow these common rules to avoid misunderstandings.

{{ message }}

{{ 'Comments are closed.' | trans }}