How Do You Use Browser Developer Tools to Inspect a Web Page?
A beginner guide to browser developer tools: open them, inspect HTML and CSS, run code in the Console and see every network request a page makes.
94 posts about CSS: questions with answers, tutorials and articles, newest first.
A beginner guide to browser developer tools: open them, inspect HTML and CSS, run code in the Console and see every network request a page makes.
The CSS universal selector (*) matches every element. Learn its common uses, how it combines with other selectors and what to avoid.
Follow the browser rendering pipeline from HTML parsing to DOM, CSSOM, layout, paint and compositing, and learn what blocks rendering.
Element, class and ID selectors differ in what they match and how strongly they apply. Learn when to use each with simple examples.
Block elements start on a new line and fill the width, while inline elements flow within text. Learn the differences, examples and how CSS display changes them.
A web server is software that answers browser requests with files or generated pages. Learn static vs dynamic content and run a local server.
The W3C CSS Validator finds syntax errors in your stylesheet. Learn the three input methods, how to read results and what to fix.
From DNS lookup to TLS handshake, HTTP request and page rendering, see each step that runs after you press Enter on a URL, in order.
CSS at-rules start with an @ sign and configure the stylesheet or group rules. See how @media, @font-face, @keyframes and @supports work.
A URL is built from a scheme, host, port, path, query and fragment. See each part labelled in a real example and parse one with JavaScript.
The CSS @import rule loads one stylesheet into another. Learn its syntax, placement rules, performance cost and faster alternatives.
DNS translates a domain name into the IP address of a server. Follow a lookup from resolver to root, TLD and authoritative server, and learn the record types.
CSS vendor prefixes were browser-specific names for experimental features. Learn which are obsolete, which remain and how to automate them.
An IP address is the number that lets data find a device on a network. Learn how IPv4, IPv6, ports and static addresses identify a web server.
Learn why browsers need a CSS reset, how it differs from normalize, and copy a short modern reset with box-sizing and media rules.
HTML structures content, CSS styles it and JavaScript makes it interactive. Build one small page in three layers to see the difference.
In the client-server model, a client sends requests and a server answers them. See the request and response cycle with a small Node.js example.
Understand margin, padding, border, background and font shorthands, the clockwise value order, and why omitted values reset to initial.
The internet is a global network of networks. Follow one page request through DNS, TCP, TLS and HTTP to see how a web page reaches your screen.
Use the Elements panel to see which CSS rules apply, edit them live and debug layout problems, all without touching your source files.