0

Is there any way to enclose <style> tags within <body> and still have valid HTML5 code?

It's just very convenient to create modular website like

  1. Template #1 - style, javascript, html
  2. Template #2 - style, javascript, html

And not:

  1. Template #1 - javascript, html
  2. Template #2 - javascript, html
  3. All style mixed in <head>
BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
Atadj
  • 7,050
  • 19
  • 69
  • 94

1 Answers1

1

Read Here:

http://html5doctor.com/the-scoped-attribute/

Scoped is not quite standardized, yet. Give it some time.

Amaerth
  • 178
  • 2
  • 13
  • That's what W3C validator suggests, too but I didn't quite understand that till now. Thanks for the link! Too bad it isn't yet there. – Atadj Jun 28 '12 at 21:29