+ 1
HTML & CSS
How does The HTML and CSS colaborate with eachother in the same page??
3 Respuestas
+ 12
html is the content of the page.
css is for styling the html.
+ 3
The browser creates the DOM from the HTML and the CSSOM from the CSS. It then combines the two object models into the rendering tree, then calculates how everything will be displayed in the viewport, and paints the pixels to the screen.
That’s a little low level, but at the end of the day HTML is the structure of the content and CSS is the styling
+ 2
Think of HTML as you and CSS is the clothes, accessories, shoes, make up, hair style etc.