There are some rules, to use CSS in your code in a better way. A cascading style sheet comprises rules to style your document that are interpreted by the browser and then applied to the corresponding elements in your document.
In our previous topics, we used tags like heading tags
and paragraph tag
with some other tags. They were used in their simplest form but most of the HTML tags can also have attributes which provides a bit of extra information about tags.