HTML & CSS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

HTML & CSS

How does The HTML and CSS colaborate with eachother in the same page??

7th Dec 2017, 1:37 AM
Francis Rai
Francis Rai - avatar
3 Answers
+ 12
html is the content of the page. css is for styling the html.
7th Dec 2017, 2:52 AM
qwerty
qwerty - avatar
+ 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
7th Dec 2017, 3:55 AM
Eric Snell
Eric Snell - avatar
+ 2
Think of HTML as you and CSS is the clothes, accessories, shoes, make up, hair style etc.
8th Dec 2017, 4:20 AM
Nft