[This is related to this question, but not since it\'s not about email.]
In many cases -- especially when working with a CMS or someone else\'s fram
The contexts in which the and
tags can be used depends on the doctype you're using. For instance, I'll assume you're using the HTML5 doctype:
The script tag has three contexts under the HTML5 doctype:
The style tag has a slightly more complicated context-structure under the HTML5 doctype:
Essentially, this states that you can place the style tag and the script tag in the body, since the body is where we place flow content, and phrasing content.
As always, consult the spec for the doctype you're using.