I know that internal CSS should be in the <head></head>
section of a (X)HTML document, but does it need to be before/after certain <meta>
or <title>
elements or can it be any order?
According to the HTML5 spec, non-scoped <style>
elements can go basically anywhere in the <head>
.