
Dani L. answered 09/04/19
Graphic designer & Web Developer
CSS files do not need the style attribute as a wrap because the browser will already know the language is CSS due to the file declaration. Make sure you do declare which CSS language you are using though. It will most like be @charset "UTF-8";.
If you have your CSS in an HTML file, you will need to wrap your CSS in the style attribute.