web browser code example
Example: browser
is a UI (like curl or wget) that downloads (or reads from cache)
.html(structure) XML nested DOM elements
.css(style) rules target selectors=>elements => computed styles
.js(function) messes it all up
calculates layout layers boxes repaintable (video, animation)
composits a page partially in the viewport using standards https://www.w3.org/standards/)
with http (not ftp) https://en.wikipedia.org/wiki/Category:Application_layer_protocols)
and may store a variety of information (data, history, passwords)
CHROME a UI (bars, buttons) <= key, mouse, voice, image inputs
uses chromium/blink an "rendering engine" that parses html=>DOM => computed styles
uses V8(interprets, compiles, optimizes javascript to machine code)
has EXTENSIONS
has DEVTOOLS
has STORAGE
runs natively (not in a browser :)