Coding is how you can communicate with devices. Codes tell a device what actions to take, by giving it a set of instructions.
It is used to make websites, apps, games, software, and other technologies.
You can make some really cool things with it.
Broswers convert codes into outputs by rendering the codes.
When you enter a URL and load the website, the browser combines the HTML and CSS codes.
Here is how it works:
- HTML Parsing: The browser starts by parsing the HTML code, which is breaking down the codes into a structured tree-like representation called the Document Object Model (DOM).
- CSS Styling: Next, the browser matches all the CSS styles with the assigned element. It styles the color, fonts, position, layout, and more. This process is known as CSS parsing and results in a new tree called the Render Tree.
- Output display: Finally, after rendering the result is displayed in the browser window. It can include text, images, links, videos and, other media, with interactive designes.