[Q] Where to place CSS style within an Html page ?
[Q] Can we put <style> ... </style > within <body> rather than <head> ?
Yes, we can. Read more on
[try] css style has to be defined before html's < body > ???
i.e. within <head> </head>
- <style> ... </style > (embed)
- @import "urstyles.css";
//=== otherwise --> css inline
<h2 style="color:red; background:black;">This is a heading style with red text and black background </h2>
can we put <style> ... </style > within <body> rather than <head> ?
The answer seems "Yes, we can". Please see my new blog post http://3hitek.blogspot.com/2010/12/css-embed-in-bloggerblogspot.html