web/
Browsers, HTML and CSS, HTTP, frameworks and APIs.
3 results
web/the-dom-how-a-browser-turns-html-text-into-a-tree.md
The DOM: how a browser turns HTML text into a tree
A web page starts as plain text, yet a script can add a bullet to it while it is open. How? The browser never works on your text directly…
web/event-bubbling-why-clicking-a-button-also-clicks-its-parent.md
Event bubbling: why clicking a button also clicks its parent
You click a button inside a div, and both click handlers run. Why does the parent hear about something that happened to its child? Every…
web/html-tags-how-angle-brackets-become-a-tree-in-your-browser.md
HTML tags: how angle brackets become a tree in your browser
Every web page is plain text with labels in angle brackets: HTML tags. An opening tag, some content and a closing tag make an element, and…