HTML is basically the core of your website, and it is the one that gives it structure. Although it is the most important one, this code is static and doesn’t add much functionality or dynamic elements to the page.
CSS goes a little beyond that and allows you to add style to the HTML code. With CSS, you are able to add color, backgrounds, layouts, and other formatting features. You can add these directly on the HTML code or through a separate file.