There 3 ways to add CSS in HTML
Table of contents
No headings in the article.
Inline CSS - It is added to the elements directly using style attribute.
Internal CSS - It is kept inside the head tags in <style> tag.
External CSS - It is kept separately inside a (.css) file which is further linked to the (index.html) file.