SyntaxFix
Write A Post
Hire A Developer
Questions
Whenever is possible is preferable to use class .myclass{} and identifier #myclass{}, so use a dedicated css file or tag <style></style> within an html. Inline style is good to change css option dynamically with javascript.
.myclass{}
#myclass{}
<style></style>