Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSekhar Reddy
1,141 PointsHow the browsers understand HTML and CSS?
Are there any built in compilers for HTML and CSS in browsers? If so what they are and how they function?
3 Answers
James Ingmire
11,901 PointsFirefox, Chrome and Safari are built upon two rendering engines. Firefox uses Gecko - a "home made" Mozilla rendering engine. Both Safari and Chrome use Webkit.
Webkit is an open source rendering engine which started as an engine for the Linux platform and was modified by Apple to support Mac and Windows. See http://webkit.org/ for more details.
James Barnett
39,199 Points>
Both Safari and Chrome use Webkit.
Traditional this was true along with the Android browser.
However as of Chrome 28 & Android 4.4 they now use the Blink engine which is a fork of the Webkit engine.
- Opera version 14 and below uses the Presto engine. As of Opera uses Blink as of version 15.
- Internet Explorer (all versions) uses the Trident engine.
Sekhar Reddy
1,141 PointsThanks for the detailed answer...clears my doubt
Stone Preston
42,016 PointsBrowsers use whats known as parsing to "read" the code and then use rendering engines to display it on screen. Its a pretty complicated topic. A quick google search came up with this tutorial which looks like a pretty good tutorial on the topic
James Ingmire
11,901 PointsIt is an interesting topic, how the different words make sense now like webkit etc, put your coding into more context when typing. Enjoyed reading about it.
David White
Courses Plus Student 2,248 PointsDavid White
Courses Plus Student 2,248 PointsGreat topic! I would not have thought to ask this question myself, but glad that you did ;)