HTML FAQ

While it's not standard compliant with HTML 4, most browser would allow it. Another alternative is to dynamically load it with javascript if being standard complaint is important in your page. HTML 5 provides a scoped style which also allow for style element in the body part of an html document.