I know that inline styles are strongly discouraged, and mostly we should use <style>
tags in <head>
or an external CSS file.
What I am not clear on is the usage of <style>
tags in a .html
file and actual .css
files.
Should I move all style code from home.html
to home.css
and include it via the <link>
tag?
Or using <style>
tags in <head>
perfectly acceptable? My boss says I should include all code in .css
files.
Note:
I am not looking from a best-performance standpoint; rather clean code and best practices while writing HTML/CSS and facilitating better debugging/reading.