A modern website with content, beautiful design, interactive elements, etc. is created through three code layers. Which are,
- HTML Document
- CSS Rules
The first layer is the HTML Document; In this layer, the website’s content is arranged in markup language so that the web browser can process it very easily. When you visit a website, you are actually accessing this document. The website does not exist without HTML Document.
The second layer is the Collection of CSS Rules; This layer contains instructions for the browser through the CSS code on how to display HTML markup. The website presentation is a combination of HTML and CSS.