How To Avoid Inline CSS Completely? Decouple HTML and CSS
-
I would like to know as how can I completely make the CSS applied from External CSS? When I check the HTML code, I see that lots of Inline CSS is applied direct to the tag.
Instead of it, it would be good, if only the CLASS names are added to each tag, and the CSS is referred from external CSS.
I know, we can add the ‘!important’ property in our external CSS, but it would be good, if we can totally avoid adding the Inline CSS.
The topic ‘How To Avoid Inline CSS Completely? Decouple HTML and CSS’ is closed to new replies.