Lesson 1: How the web works: from an address to a page
The PIN code: an address in six digits
India's postal index number, the PIN code, was introduced on 15 August 1972 by Shriram Bhikaji Velankar of the Ministry of Communications. It was made because of confusion over places with the same names, and because addresses were written in many languages. Each of its six digits narrows the search: the first gives the postal zone, the second the sub-zone, the third the sorting district, and the last three the post office.
Why it fits here: A URL works the same way: its parts, read in a fixed order, narrow the search from the whole internet down to one thing.
Sources: Wikipedia: Postal Index Number; Manorama Yearbook: What is PIN Code?
Topic: The parts of a web address · history, india, numbers
The two slashes nobody needed
Tim Berners-Lee, who created the World Wide Web, later said that the two slashes after https: in every web address were unnecessary. He could easily have designed addresses without them, he told the Times newspaper in 2009, adding that it seemed like a good idea at the time. He also said he wished he had used slashes in place of the dots between the parts of a domain name.
Why it fits here: Each mark in a URL has a job, and the order is fixed. Even its creator would change a few marks if he could start again.
Sources: BBC News: Berners-Lee 'sorry' for slashes; Wikipedia: URL
Topic: The parts of a web address · history, people, internet
Before DNS, one file listed every computer
On the ARPANET, an early computer network, every computer's name and number once sat in a single file, HOSTS.TXT. It was kept by hand at the Stanford Research Institute and copied by every member. As the network grew, one list for everyone became slow and unwieldy. In November 1983 Paul Mockapetris published the design of the Domain Name System, which avoids the problems of one central list.
Why it fits here: The chain of lookups in this topic exists because one list for the whole world could not keep up.
Sources: Wikipedia: hosts (file); Wikipedia: Domain Name System; RFC 882: Domain Names, Concepts and Facilities (Mockapetris, November 1983)
Topic: DNS: from a name to a number · history, internet, people
Thirteen names at the root
At the top of DNS sit the root servers, and their names run from a.root-servers.net to m.root-servers.net: 13 names in all. The number 13 comes from a limit in the original design of DNS, which allowed an answer of at most 512 bytes. Behind those 13 names stands a network of hundreds of servers in many countries around the world.
Why it fits here: A lookup that no memory along the chain can answer starts at these root servers, as this topic describes.
Sources: IANA: Root Servers; Wikipedia: Root name server
Topic: DNS: from a name to a number · internet, numbers
The first HTTP was one line long
The first version of HTTP, as it was put into practice in 1991, was tiny; it later became known as HTTP 0.9. A request was a single line: the word GET, a space, and the address of a document. No other information about the browser was sent. The answer was the page itself, in HTML, and nothing more.
Why it fits here: The request and response of this topic grew from that one-line conversation, a few parts at a time.
Source: W3C: The Original HTTP as defined in 1991
Topic: HTTP: a request and a response · history, internet
The cookie that remembers a shopping cart
In 1994 websites had a problem. HTTP was made to connect to a site, fetch one document and disconnect, so a site could not tell one visitor from another, and a shopping cart could not remember what was in it. Lou Montulli, a programmer at Netscape, solved it with cookies: small pieces of data that a site hands to the browser and the browser sends back. He took the name from magic cookie, a term from a college course.
Why it fits here: A cookie travels in the headers of this topic: a site sets it in a response, and the browser sends it back in each later request.
Sources: Lou Montulli: The reasoning behind Web Cookies; Wikipedia: HTTP cookie
Topic: HTTP: a request and a response · history, internet, people, words
418 I'm a teapot
On 1 April 1998, as an April Fools' joke, a document in the internet's standards series described a protocol for controlling coffee pots. It said that any attempt to brew coffee with a teapot should give the error 418 I'm a teapot. In 2017 there was a call to remove 418 from tools such as Node.js. Programmers protested, the tools kept it, and the code was reserved, so no official status will take its number.
Why it fits here: A status code is three digits with a meaning, as this topic shows. 418 is the one whose meaning was a joke from the start.
Sources: RFC 2324: Hyper Text Coffee Pot Control Protocol; Wikipedia: Hyper Text Coffee Pot Control Protocol
Topic: Reading a status code · history, internet, words
451, a code named after a novel
In February 2016 a new status code joined HTTP: 451 Unavailable For Legal Reasons, for a page that cannot be shown because of the law, such as a page censored by a government. Its number refers to Ray Bradbury's 1953 novel Fahrenheit 451, in which books are outlawed. The standard that defines it ends its thanks with a short line: Thanks also to Ray Bradbury.
Why it fits here: A 4xx code means the request cannot be served as asked. 451 also says why: the law, and not a mistake.
Sources: RFC 7725: An HTTP Status Code to Report Legal Obstacles; Wikipedia: HTTP 451
Topic: Reading a status code · history, books, internet
The lock that people misread
For years, browsers showed a small lock beside the address of a site that used HTTPS. Research by Google in 2021 found that only 11% of study participants understood exactly what the lock meant: many took it as a sign that a site could be trusted. Yet nearly all phishing sites use HTTPS too. So from Chrome 117, in 2023, the lock gave way to a new icon called tune, which carries no promise of trust.
Why it fits here: HTTPS seals the conversation and proves a site's name, but it says nothing about the owner's honesty, which is what the lock was mistaken for.
Sources: Help Net Security: Google Chrome will lose the lock icon for HTTPS-secured sites; TechSpot: Google is replacing Chrome's lock icon because it's confusing
Topic: Watching it happen, and keeping it private · internet, mistakes, tools
Free certificates for every site
To use HTTPS, a site needs a certificate from a certificate authority. Let's Encrypt, brought to you by the nonprofit Internet Security Research Group, gives them away: it is a free, automated and open certificate authority. It launched on 12 April 2016. Anyone who owns a domain name can get a trusted certificate from it at zero cost, and software on the server can renew it by itself.
Why it fits here: The sealed envelope of this topic needs such a certificate, and a free one means that even a small site can have it.
Sources: Let's Encrypt: About; Let's Encrypt: Stats; Wikipedia: Let's Encrypt
Topic: Watching it happen, and keeping it private · internet, tools
Lesson 2: Elements and the structure of a page
The first HTML had 18 elements
The first public description of HTML was a document called HTML Tags, first mentioned on the internet by Tim Berners-Lee in late 1991. It described 18 elements. Its opening lines already set the rule used today: each tag starts with a less-than sign and ends with a greater-than sign, and a closing tag is the same with a slash after the opener. Eleven of those first elements were still part of HTML 4.
Why it fits here: The opening tag, the closing tag with its slash, and the content between them are exactly the parts this topic names.
Sources: Wikipedia: HTML; W3C archive: HTML Tags, the first list of tags
Topic: Tags, elements and what goes inside them · history, internet, people
Markup began with an editor's pen
The word markup is older than computers. Editors used to write instructions on a writer's manuscript, traditionally with a red pen or a blue pencil, so that the printer knew how each part should look. A dictionary still gives that meaning: the collection of detailed stylistic instructions written on a manuscript that is to be typeset. HTML's tags are markup of the same kind, written for a browser in place of a printer.
Why it fits here: A tag is a label around content that says what the content is, as an editor's mark did on paper.
Sources: Wikipedia: Markup language; American Heritage Dictionary: markup
Topic: Tags, elements and what goes inside them · history, words, books
Quirks mode keeps the old web working
Browsers have more than one way of drawing a page. Without a doctype, they fall back to quirks mode, which copies the behaviour of Netscape Navigator 4 and Internet Explorer 5, to support websites built before web standards were widely adopted. With a full doctype, they use no-quirks mode, which follows the modern HTML and CSS standards. So one short first line decides which rules the whole page is drawn by.
Why it fits here: The doctype of this topic is that switch: without it, a modern page can be drawn by the old rules and break.
Sources: MDN: Quirks mode and standards mode; Wikipedia: Quirks mode
Topic: The skeleton every page has · history, internet, tools
The tags that may be left out
The HTML standard allows some tags of the skeleton to be left out. An html element's start tag can be omitted if the first thing inside it is not a comment, and its end tag can be omitted if no comment comes right after it. Leaving the tags in keeps the boxes visible to every reader of the code, which is why these lessons always write them.
Why it fits here: The skeleton of this topic is there either way; writing every tag makes the nesting plain to the next person who reads the page.
Source: HTML Standard (WHATWG): the html element
Topic: The skeleton every page has · tools, internet
Screen reader users move by headings
WebAIM regularly asks people who use screen readers, programs that read a page aloud, how they use the web. In its survey of December 2023 and January 2024, 1539 people answered. Asked what they do first to find information on a long page, 71.6% said they move through the headings. Only 6.4% said they read through the page from the top.
Why it fits here: The outline of this topic is how many readers find their way. A page with clear headings is a page they can use.
Source: WebAIM: Screen Reader User Survey #10 Results
Topic: Headings, paragraphs and words that matter · science, people, internet
Readers scan in the shape of an F
In April 2006 the usability expert Jakob Nielsen published eyetracking studies of how people read web pages. Their eyes often moved in an F-shaped pattern: two horizontal stripes followed by a vertical stripe. A study 11 years later confirmed it. His advice follows from it: start headings, paragraphs and lists with words that carry information, because those are the words a scanning eye notices.
Why it fits here: Headings and short paragraphs, as this topic describes, are what a scanning eye catches first.
Source: Nielsen Norman Group: F-Shaped Pattern For Reading Web Content
Topic: Headings, paragraphs and words that matter · science, people, memory
div came first, then span
The div element already appears in HTML 3.2, which the W3C made a Recommendation on 14 January 1997. That version has no span. The span element arrived with HTML 4.0, a Recommendation of 18 December 1997, which describes the DIV and SPAN elements together as a generic way of adding structure to a page. Both were made as plain boxes for grouping.
Why it fits here: The two boxes of this topic were added to HTML for one purpose: grouping things that have no better element.
Sources: W3C: HTML 3.2 Reference Specification; W3C: HTML 4.0 Specification; W3C: HTML 4.0 Specification, global structure; Wikipedia: HTML
Topic: Grouping with div and span · history, internet
The paragraph that closes itself
The HTML standard lists the elements before which a paragraph ends on its own. A p element's end tag can be left out if the paragraph is immediately followed by an element such as address, article, blockquote, div, form, a heading, hr, nav, ol, table or ul. A browser follows the same rule when it reads a page: a div that starts inside a p first closes the paragraph.
Why it fits here: This is the repair this topic warns about: the paragraph ends early, and the words after the div lose their box.
Sources: HTML Standard (WHATWG): the p element; HTML Standard (WHATWG): parsing HTML documents
Topic: Grouping with div and span · tools, internet
Every id becomes a name on the window
Give an element an id, and the browser's window object gains a property of that name: the HTML standard says the window supports named properties, among them the ID of every element that has one. So an element with the id total can be reached in JavaScript as window.total. The standard itself warns that relying on this leads to brittle code, and says to use document.getElementById instead.
Why it fits here: An id must be unique, as this topic says. The browser itself treats it as a name for exactly one thing.
Source: HTML Standard (WHATWG): named access on the Window object
Topic: Attributes: extra details on an element · tools, internet
lang tells a screen reader how to speak
The W3C's Web Content Accessibility Guidelines include a rule called Language of Parts, success criterion 3.1.2 at level AA. It asks that words in a different language be marked, so that browsers and assistive technologies can present them by the presentation and pronunciation rules of that language. The rule covers screen readers, braille displays and other voice browsers as well as ordinary browsers.
Why it fits here: The lang attribute of this topic is how that marking is done, for a whole page or for a single word.
Source: W3C WAI: Understanding Success Criterion 3.1.2, Language of Parts
Topic: Attributes: extra details on an element · people, words, internet
Lesson 3: Text, links and images
Don't say click here
The W3C, which writes the web's standards, keeps a tip for people who build websites: don't use click here as link text, because not everyone will be clicking. The tip asks for link text that gives some information when read out of context, explains what the link offers and does not talk about mechanics.
Why it fits here: The link text of this topic is a promise of where the link goes; click here makes no promise at all.
Source: W3C Quality Web Tips: Don't use click here as link text
Topic: Links: the a element · words, internet, people
New tabs that cannot reach back
The noopener keyword tells the browser to open a link without giving the new page access to the page that opened it: the new window's opener property is left empty. MDN calls this especially useful for untrusted links, so that they cannot tamper with the page that opened them. Modern browsers now apply the same protection to target _blank by themselves.
Why it fits here: The safety catch of this topic exists because a new tab once could reach back; the browsers have since made it the default.
Sources: MDN: rel=noopener; HTML Standard (WHATWG): link type noopener
Topic: Links: the a element · internet, tools
Paths borrowed from Unix
The paths in web addresses were not invented for the web. Tim Berners-Lee wrote that slashes were the clear choice for separating the parts of a hierarchy, and that the relative URI syntax is just unix pathname syntax reused without apology. So a slash between folders, and two dots for the folder above, came straight from the way Unix names its files.
Why it fits here: The relative paths of this topic follow the same rules as file paths in a Unix terminal, which the Linux steps of this school use.
Source: Tim Berners-Lee: Answers for Young People and FAQ
Topic: Paths: how one file finds another · history, people, tools
Cool URIs don't change
In 1998 Tim Berners-Lee wrote a short page with a firm title: Cool URIs don't change. His point was that addresses do not break by themselves: people change them, by moving and renaming files. The cost is real. A 2024 study by the Pew Research Center found that 38% of web pages that existed in 2013 were no longer accessible a decade later.
Why it fits here: A path is a promise to everyone who links to it. Moving a file breaks every path that pointed at it.
Sources: W3C: Cool URIs don't change (Tim Berners-Lee); Pew Research Center: When Online Content Disappears
Topic: Paths: how one file finds another · history, internet, people
mailto is as old as the URL standard
The mailto: scheme is not a later add-on. RFC 1738, the specification of Uniform Resource Locators published in December 1994 by Tim Berners-Lee, Larry Masinter and Mark McCahill, already lists it among its schemes: mailto, for an electronic mail address, beside http, ftp, gopher, news and telnet. A link that writes an email is as old as that standard.
Why it fits here: The mailto: and tel: links of this topic are schemes like https:, and mailto: was one of the earliest.
Source: RFC 1738: Uniform Resource Locators (URL)
Topic: Jumping within a page, and links that call or write · history, internet
A link to any sentence
A jump within a page usually needs an id. Text fragments remove that need: a link whose fragment starts with :~:text= points at the words themselves, so it can reach a sentence on a page whose author added no ids. MDN describes them as deep links to content you do not control. Supporting browsers usually scroll the words into view and highlight them.
Why it fits here: Jumping within a page normally needs the ids of this topic; a text fragment jumps by the words instead.
Sources: MDN: Text fragments; WICG: URL Fragment Text Directives
Topic: Jumping within a page, and links that call or write · internet, tools
The day the web got pictures
On 25 February 1993 Marc Andreessen, at the NCSA where the Mosaic browser was being made, wrote to the web's mailing list: I'd like to propose a new, optional HTML tag: IMG. Its one required argument, SRC, named an image file for the browser to fetch over the network and show in the text. Less than three weeks later, Mosaic 0.10 introduced the IMG tag.
Why it fits here: The img element of this topic, with its src attribute, has kept the shape of that first proposal.
Sources: www-talk archive: proposed new tag: IMG (Marc Andreessen); Wikipedia: Mosaic (web browser)
Topic: Images: img and alt · history, internet, people
Half the top sites miss alt text
Each year WebAIM tests the home pages of the top one million websites for accessibility errors. In its 2026 report, 53.1% of home pages had images with missing alternative text. Only low-contrast text was more common, at 83.9%. The report adds that the most common kinds of error have stayed the same for the last seven years.
Why it fits here: Writing the alt text of this topic fixes one of the most common faults on the whole web.
Source: WebAIM: The WebAIM Million, the 2026 report
Topic: Images: img and alt · internet, people, mistakes
The end of Flash
For years, video on the web usually played through a plugin, Adobe Flash; HTML video was not as widespread as Flash videos. The video element made the browser itself the player. In January 2015 YouTube switched to HTML video instead of Flash by default. Adobe ended support for Flash on 31 December 2020.
Why it fits here: The controls of this topic come from the browser itself, which is why no plugin is needed any more.
Sources: Wikipedia: HTML video; Adobe: Flash Player end of life
Topic: Video and audio · history, internet, tools
Why sound does not start by itself
Chrome has an autoplay policy. Muted autoplay is always allowed, but autoplay with sound is allowed only in some cases, for example when the user has already interacted with the site by a click or a tap. Otherwise, the browser does not start the sound. The policy is meant to give the visitor more control of what plays.
Why it fits here: The controls of this topic leave the decision to the visitor, which is what the browsers now insist on.
Source: Chrome for Developers: Autoplay policy in Chrome
Topic: Video and audio · internet, tools
Lesson 4: Lists and tables
Lists were in the very first HTML
Lists are as old as HTML itself. HTML Tags, the first public list of HTML's elements, written around 1991, already says: Opening list tags are UL, a list of multi-line paragraphs, MENU, a list of smaller paragraphs, and DIR, a list of short elements. Of those three, ul is the one this topic uses.
Why it fits here: The ul of this topic has been part of HTML since the first list of tags, older than most of the elements met so far.
Sources: W3C archive: HTML Tags, the first list of tags; Wikipedia: HTML
Topic: Lists: ul, ol and li · history, internet
A checklist that saves lives
An ordered list can be serious. In 2008 the World Health Organization published the WHO Surgical Safety Checklist: a short list of items for the surgical team to check before and after an operation, to prevent harm such as infections or instruments left behind. Several studies have shown it cutting deaths and complications by as much as one third where it is used.
Why it fits here: An ol is for steps whose order and completeness matter; a checklist in an operating theatre is the most serious example there is.
Sources: Wikipedia: WHO Surgical Safety Checklist; WHO: Safe surgery
Topic: Lists: ul, ol and li · science, people, health
The dl began as a glossary
The description list is one of the oldest lists of all. The first list of HTML tags already describes it under the heading Glossaries: a glossary, or definition list, is a list of paragraphs each of which has a short title alongside it. Apart from glossaries, it adds, this format is useful for presenting a set of named elements to the reader.
Why it fits here: The dl, dt and dd of this topic still do exactly that job: a short title beside each entry.
Source: W3C archive: HTML Tags, the first list of tags
Topic: Lists inside lists, and lists of terms · history, words, internet
A dl is for more than words
Today's HTML standard describes the dl as an association list: groups, each made of one or more names followed by one or more values. It says those groups may be terms and definitions, metadata topics and values, questions and answers, or any other groups of name-value data. A page of frequent questions can be a dl.
Why it fits here: The pairs of this topic are not only words and meanings: any name with its value can be a dt and a dd.
Source: HTML Standard (WHATWG): the dl element
Topic: Lists inside lists, and lists of terms · tools, internet
Tables came years after the web
Tables are younger than the web. The first list of HTML tags appeared in late 1991, but HTML tables were described only in RFC 1942, HTML Tables, published in May 1996 by Dave Raggett of the W3C. Its very first example is a test table with merged cells, the kind of table taught at the end of this lesson.
Why it fits here: The tr, th and td of this topic, and the caption, all come from that 1996 design.
Sources: RFC 1942: HTML Tables; Wikipedia: HTML
Topic: Tables: rows of cells · history, internet, people
The table that sold a computer
In 1979 Dan Bricklin, a Harvard MBA student, and the programmer Bob Frankston made VisiCalc, a table of rows and columns on a computer screen that recalculated itself when a number changed. It is called the first spreadsheet program for personal computers. The Computer History Museum says it turned the personal computer into a business machine and boosted the sales of the Apple II.
Why it fits here: A grid of rows and columns, the shape of this topic's tables, became the most useful screen in business.
Sources: Computer History Museum: Timeline of Computer History, 1979; Wikipedia: VisiCalc
Topic: Tables: rows of cells · history, machines, people
The tbody nobody wrote
The HTML standard spells out exactly how a browser reads a table. When a row or a cell starts directly inside a table, the browser first inserts a tbody element, with no attributes, and then reads the row again inside it. So every table that has rows also has at least one tbody, whether its author wrote one or not.
Why it fits here: This is the surprise of this topic, written down in the standard: the browser builds the tbody itself.
Source: HTML Standard (WHATWG): parsing in a table
Topic: A table's head, body and foot · tools, internet
Merged cells from the very start
Merged cells are not a later trick. The very first example in RFC 1942, the 1996 specification of HTML tables, is titled A test table with merged cells. In it a heading cell spans two rows and another spans two columns, with ROWSPAN=2 and COLSPAN=2 written right into its tags.
Why it fits here: The colspan and rowspan of this topic were part of HTML tables from their first published example.
Source: RFC 1942: HTML Tables
Topic: Stretching a cell across columns or rows · history, internet
A heading that spans needs a wider scope
When a heading cell spans several columns, a screen reader needs to know which data cells it names. The W3C's accessibility tutorial says such a header cell should be tied to the data cells of its column group, by giving its scope the value colgroup, and the same principle applies to header cells that span multiple rows.
Why it fits here: A spanned heading of this topic covers more than one column, so its scope must cover more than one column too.
Source: W3C WAI Tutorials: Tables with irregular headers
Topic: Stretching a cell across columns or rows · people, tools, internet
Lesson 5: Forms
Forms arrived with HTML 2.0
The first web pages could show things but not ask anything. Forms became part of the standard with HTML 2.0, RFC 1866, published in November 1995 by Tim Berners-Lee and Dan Connolly. It even defined two levels of HTML: level 1 is everything except the features that need the FORM element, and level 2, the default, includes form processing.
Why it fits here: The form element of this topic is what turned the web from pages to read into pages that can take answers.
Source: RFC 1866: Hypertext Markup Language - 2.0
Topic: The form element: where the answers go · history, internet, people
How long an address may be
With GET, every answer travels inside the address, so an address can grow long. The HTTP standard of June 2022, RFC 9110, recommends that every sender and receiver support addresses of at least 8000 octets, which means 8000 bytes. A search fits easily; a long essay typed into a form does not belong in an address at all.
Why it fits here: This is one more reason why this topic sends long or private answers with POST and keeps GET for short searches.
Source: RFC 9110: HTTP Semantics
Topic: The form element: where the answers go · internet, numbers
The first computer password
Computer passwords are older than the web by decades. Nearly all the computer historians Wired asked in 2012 said that the first password must have come from MIT's Compatible Time-Sharing System, CTSS, probably in the mid-1960s. Fernando Corbató, who led the project, was a little reluctant to take the credit, and later said the method had spread and become unmanageable. On CTSS, typing PASSWORD switched off the printing, so the answer stayed hidden.
Why it fits here: The password box of this topic does what CTSS did: it keeps the answer off the screen, and that alone does not make it secret.
Sources: Wired: The World's First Computer Password? It Was Useless Too; Wikipedia: Fernando J. Corbató; Wikipedia: Password
Topic: Input boxes and their types · history, people, machines
An email check that breaks the rules on purpose
The official rules for email addresses, RFC 5322, allow strange forms such as comments and quoted strings. The HTML standard's check for an email box does not follow them, and says so openly. It calls its own rule a willful violation of RFC 5322. The old syntax, it explains, is too strict before the @, too vague after it and too lax overall.
Why it fits here: The email box of this topic checks a shape that real people's addresses have, not every form the old rules allow.
Source: HTML Standard (WHATWG): input type email
Topic: Input boxes and their types · internet, words
Radio buttons are named after radios
Radio buttons got their name from real radios. Older radios had a row of buttons for preset stations: pressing one pushed it in and made the others pop out, so only one could be pressed at a time. MDN describes the HTML version the same way: radio buttons look and work like the push buttons on old-fashioned radios.
Why it fits here: Exactly one choice at a time, the rule of this topic's radio buttons, is the rule of those old station buttons.
Sources: Wikipedia: Radio button; MDN: input type radio
Topic: Choices: ticks, one of many, lists and long answers · history, words, machines
More choices, slower decisions
In 1952 the psychologist W. E. Hick measured how long people take to choose. The more choices they had, the longer they took. Designers call this Hick's law: the time it takes to make a decision increases with the number and complexity of choices. The usual advice is to show fewer choices at once, or to split a long task into smaller steps.
Why it fits here: This is why this topic puts a long set of choices into a select or a datalist, and keeps radio buttons for a few.
Sources: Wikipedia: Hick's law; Laws of UX: Hick's Law
Topic: Choices: ticks, one of many, lists and long answers · science, people, memory
Half the top sites have boxes with no label
WebAIM's 2026 test of the home pages of the top one million websites found missing form input labels on 51% of them, the third most common accessibility error after low-contrast text and missing alternative text. The report adds that these most common errors have been the same for the last seven years.
Why it fits here: A label for every box, as this topic teaches, fixes one of the commonest faults on the web.
Source: WebAIM: The WebAIM Million, the 2026 report
Topic: Labels, groups and buttons · internet, people, mistakes
A label makes the target bigger
Fitts's law, from the psychologist Paul Fitts, says that the time to reach a target depends on its size and its distance. The Nielsen Norman Group applies it to screens: a target made of an icon and a label is bigger than the icon alone, so it is quicker to hit. A label joined to its box works the same way, since clicking either one reaches the box.
Why it fits here: Joining a label to its box, as this topic does with for and id, turns the words into part of the target.
Source: Nielsen Norman Group: Fitts's Law and Its Applications in UX
Topic: Labels, groups and buttons · science, people
Patterns from a mathematician
The pattern attribute uses regular expressions, and their idea is older than personal computers. They began in the 1950s, when the American mathematician Stephen Cole Kleene formalized the concept of a regular language. Ken Thompson and Dennis Ritchie brought them into Unix, and by the late 1970s they were a key feature of Unix tools such as ed, sed and grep.
Why it fits here: The pattern of this topic, such as six digits for a PIN code, is a regular expression of exactly that kind.
Sources: Wikipedia: Regular expression; Russ Cox: Regular Expression Matching Can Be Simple And Fast
Topic: Checking the answers before they are sent · history, maths, people
Never trust the browser alone
OWASP, a foundation that publishes advice on web security, lists client-only checks among the common pitfalls of input validation. Its advice is to validate on the server even when the browser checks the same fields, because client-side validation is bypassable: it is there for immediate feedback, and not for safety.
Why it fits here: This is the courtesy and the lock of this topic: the browser's check is the courtesy, and the server's is the lock.
Source: OWASP Cheat Sheet Series: Input Validation
Topic: Checking the answers before they are sent · internet, mistakes, tools
Lesson 6: Semantic HTML
HTML5 named the parts of a page
HTML5 became a W3C Recommendation on 28 October 2014. To enrich the meaning of documents, it added new page structure elements such as main, section, article, header, footer, aside, nav and figure. Some of them replace common uses of the plain div, such as nav for a website's navigation block.
Why it fits here: The header, nav, main and footer of this lesson are those elements, made to give each part of a page a name.
Sources: W3C: HTML5, W3C Recommendation 28 October 2014; Wikipedia: HTML5
Topic: Meaning, not looks · history, internet
The div is the element of last resort
The HTML standard itself gives the div a warning. Authors are strongly encouraged to view the div element as an element of last resort, for when no other element is suitable. It explains why: using more appropriate elements instead of div leads to better accessibility for readers and easier maintenance for authors.
Why it fits here: This is the rule of this topic in the standard's own words: meaning first, and div only when nothing fits.
Source: HTML Standard (WHATWG): the div element
Topic: Meaning, not looks · tools, internet
Skipping is a rule of the web's guidelines
The W3C's Web Content Accessibility Guidelines include a rule called Bypass Blocks, success criterion 2.4.1, at level A, the minimum level of conformance. Its goal is that users can more easily navigate by keyboard, and what it asks is short: provide a means of skipping repeating content. One technique it lists is a link at the top of each page that goes straight to the main content.
Why it fits here: The skip link of this topic is that very technique, placed first on the page.
Sources: W3C WAI: Understanding Success Criterion 2.4.1, Bypass Blocks; W3C: Web Content Accessibility Guidelines 2.2
Topic: The parts of every page: header, nav, main, footer · people, internet
How often people use landmarks
WebAIM asked screen reader users in 2023 and 2024 how often they move through a page by its landmarks. 17.9% said whenever they are available, and 13.9% often. Frequent use had fallen steadily from 43.8% in 2014 to 25.6% in 2021, and in 2024 it rose again, to 31.8%.
Why it fits here: The header, nav, main and footer of this topic are those landmarks, and nearly a third of these readers use them often.
Source: WebAIM: Screen Reader User Survey #10 Results
Topic: The parts of every page: header, nav, main, footer · science, people, internet
An article can travel alone
The HTML standard defines the article element as a self-contained composition in a document, page, application or site, intended to be independently distributable or reusable, for example in syndication. Its examples include a forum post, a magazine or newspaper article, a blog entry, a product card and a user-submitted comment.
Why it fits here: The test of this topic, whether a piece could be torn out and still make sense, is the standard's own test.
Source: HTML Standard (WHATWG): the article element
Topic: Inside the main: section, article and aside · tools, internet
An aside on the stage
On a stage, an aside is a line spoken to the audience that the other actors supposedly do not hear. A dictionary also gives the word a second meaning: a digression, a turn away from the main subject. HTML uses aside for a part of a page that is only loosely related to the content around it, and could be seen as separate from it.
Why it fits here: The aside of this topic is that kind of remark: useful, but the main piece makes sense without it.
Sources: American Heritage Dictionary: aside; Wiktionary: aside; HTML Standard (WHATWG): the aside element
Topic: Inside the main: section, article and aside · words, books
The element that was dropped and brought back
On 30 October 2011 Bruce Lawson wrote, with great sadness, that the time element had been dropped from HTML, replaced by a more generic data element. The editor of the standard, Ian Hickson, had explained the change. Developers protested, not least because WordPress and GitHub were using time more and more. In the minutes of a meeting on 3 November 2011, the chairs of the W3C's HTML working group decided against dropping time, and it was restored.
Why it fits here: The time element of this topic was saved because people were already using it to say what a date is.
Sources: Bruce Lawson: Goodbye HTML5 <time>, hello <data>!; Creative Bloq: W3C restores time element to HTML5
Topic: Text that says what it is · history, people, internet
Dates written the international way
The datetime of a time element uses formats that the HTML standard means to be subsets of ISO 8601, an international standard for dates and times. ISO 8601 was first published in 1988. It gives one clear way to write dates, especially to avoid misreading numbers passed between countries that write dates in different orders. Its values run from the largest unit of time to the smallest: year, month, day, hour, minute, second. So 2026-11-01 can only mean 1 November 2026.
Why it fits here: The datetime of this topic uses that order, so every program reads the date the same way.
Sources: HTML Standard (WHATWG): dates and times; Wikipedia: ISO 8601
Topic: Text that says what it is · history, numbers, words
Two short-form elements became one
HTML 4.01 had two elements for short forms: abbr, for forms such as WWW and HTTP, and acronym, for forms such as radar. Today's HTML standard lists acronym among its entirely obsolete elements, which must not be used by authors, with one instruction: use abbr instead. Its abbr element now represents an abbreviation or acronym.
Why it fits here: The abbr of this topic is the element that survived, and it now covers every short form.
Sources: W3C: HTML 4.01 Specification, phrase elements; HTML Standard (WHATWG): obsolete features; HTML Standard (WHATWG): the abbr element
Topic: Text that says what it is · history, words
Two ways to build an accordion
The W3C's guide to accessible widgets describes the accordion: a vertically stacked set of headings that reveal or hide their sections of content. Built with a script, it has to handle the keyboard itself. Enter or Space on the heading of a closed panel opens that panel, and Tab moves focus to the next focusable element. The HTML standard also lets several details elements share a name: opening one member of the group closes the others.
Why it fits here: The details element of this topic is the way without a script: the browser opens and closes it by itself.
Sources: W3C WAI ARIA Authoring Practices: Accordion Pattern; HTML Standard (WHATWG): the details element
Topic: A box that opens and closes: details and summary · people, tools
The triangle is a list marker
The small triangle beside a summary is a list marker, of the same family as the dot of a bulleted list. The HTML standard's default style makes a details element's first summary a list item, with the marker disclosure-closed. When the box is open, the marker becomes disclosure-open. The CSS standard suggests a small triangle pointing right for the first and one pointing down for the second.
Why it fits here: The summary in this topic shows that triangle, and it turns as the box opens because the browser swaps one marker for the other.
Sources: HTML Standard (WHATWG): rendering of details and summary; W3C: CSS Counter Styles Level 3
Topic: A box that opens and closes: details and summary · tools, internet
Lesson 7: Accessibility
One person in six
In March 2023 the World Health Organization estimated that 1.3 billion people experience significant disability. That is 16% of the world's population, or 1 in 6 people. The number is growing, partly because people are living longer. The WHO calls disability part of being human.
Why it fits here: The four kinds of need in this topic belong to about a sixth of the world, and their number is growing.
Source: World Health Organization: Disability, fact sheet
Topic: Who it is for · people, numbers, science
The web's inventor on who it is for
The W3C's introduction to web accessibility quotes Tim Berners-Lee, the inventor of the World Wide Web. In his words, the power of the Web is in its universality, and access by everyone regardless of disability is an essential aspect. The W3C launched its Web Accessibility Initiative on 7 April 1997, endorsed by the White House. The first Web Content Accessibility Guidelines became a W3C Recommendation on 5 May 1999.
Why it fits here: WCAG, the rules of this topic, began with those guidelines of 1999.
Sources: W3C WAI: Introduction to Web Accessibility; W3C: World Wide Web Consortium (W3C) Launches International Web Accessibility Initiative; W3C: Web Content Accessibility Guidelines 1.0
Topic: Who it is for · history, people, internet
Most home pages leave something nameless
In February 2026 WebAIM checked the home pages of the top million websites. Images missing alternative text were found on 53.1% of them, form boxes missing labels on 51%, empty links on 46.3%, and empty buttons on 30.6%. Each of these is a part that a screen reader cannot name.
Why it fits here: Alt, labels and the text of links and buttons are the names of this topic, and more than half of these home pages missed one of them.
Source: WebAIM: The WebAIM Million, the 2026 report
Topic: Every part needs a name · numbers, internet, people
Don't use click here
The W3C keeps a short tip for web authors: don't use click here as link text. Its title gives the reason: not everyone will be clicking. The tip asks for brief but meaningful link text that gives some information when read out of context, explains what the link offers, and doesn't talk about mechanics.
Why it fits here: A name must say the purpose, the rule of this topic, and Click here says nothing about where a link goes.
Source: W3C Quality Tips: Don't use click here as link text
Topic: Every part needs a name · words, internet
Why the key is called Tab
The word tab comes from tabulate, to arrange data in a table. Typing a table on a typewriter once meant pressing the space bar and backspace again and again. Typewriters then got a tabulator rack, and the tab key moved the carriage to the next tabulator stop. Frederic W. Hillard applied for a patent on such a machine on 22 August 1900.
Why it fits here: The Tab key of this topic still jumps to the next stop, now from one control to the next.
Sources: Wikipedia: Tab key; American Heritage Dictionary: tab; Google Patents: US720520A, Type-writing machine
Topic: Working with the keyboard alone · history, words, tools
When the focus ring shows
Browsers do not draw the focus ring every time. CSS gives the moments they do a name, :focus-visible, and its standard lists rules of thumb for them. If the user works the page with the keyboard, the standard says to show focus. If the user clicks with a mouse on an element that takes no typing, such as a button, it says not to.
Why it fits here: The focus ring of this topic follows those rules, which is why it appears when you press Tab.
Source: W3C: Selectors Level 4, the focus-indicated pseudo-class
Topic: Working with the keyboard alone · tools, internet
No ARIA is better than bad ARIA
The W3C's guide to ARIA patterns opens its Read Me First page with a heading: No ARIA is better than Bad ARIA. WebAIM's February 2026 check of a million home pages found ARIA on 82.7% of them. Pages with ARIA averaged 59.1 detected errors, against 42 for pages without. WebAIM notes that ARIA did not necessarily cause them, since those pages were also more complex.
Why it fits here: The first rule of this topic, a real element before ARIA, keeps a page on the right side of these numbers.
Sources: W3C WAI ARIA Authoring Practices: Read Me First; WebAIM: The WebAIM Million, the 2026 report
Topic: ARIA: filling the gaps, and its first rule · numbers, tools, internet
A standard seven and a half years in the making
ARIA was first published on 26 September 2006. It took until 20 March 2014 for WAI-ARIA 1.0 to become a W3C Recommendation, a finished standard, seven and a half years later. Version 1.1 followed on 14 December 2017, and version 1.2 on 6 June 2023.
Why it fits here: The aria-label, aria-hidden and role attributes of this topic come from that standard.
Sources: Wikipedia: WAI-ARIA; W3C: Accessible Rich Internet Applications (WAI-ARIA) 1.0; W3C: Accessible Rich Internet Applications (WAI-ARIA) 1.1; W3C: Accessible Rich Internet Applications (WAI-ARIA) 1.2
Topic: ARIA: filling the gaps, and its first rule · history, internet
The fault found most often
Low contrast text was the fault WebAIM found most often in its February 2026 check of a million home pages. Text below WCAG's AA contrast levels was on 83.9% of them, up from 79.1% in 2025. The average home page had 34 separate pieces of low-contrast text.
Why it fits here: The 4.5 to 1 rule of this topic is the one most often broken on the web.
Source: WebAIM: The WebAIM Million, the 2026 report
Topic: Seeing, hearing and reading · numbers, internet
Why more men than women
Colour blindness affects about 1 in 12 men but only about 1 in 200 women, some 300 million people worldwide. For most of them it is inherited, usually from the mother. The genes involved sit on the X chromosome, which is why men are affected so much more often.
Why it fits here: This is why this topic never tells anything by colour alone.
Sources: Colour Blind Awareness: About colour blindness; Wikipedia: Color blindness
Topic: Seeing, hearing and reading · science, people, numbers
What the tools missed
In February 2017 Mehmet Duran of the UK government's GDS accessibility team described a test. With his colleagues he built what they called the world's least accessible web page, with 143 barriers, and ran 10 automatic tools over it. Of the 143 barriers, 42, or 29%, were missed by all 10 tools, and even the best tool found only 41%. Their advice: combine tools with manual inspection and user research.
Why it fits here: This is why this topic tests with the keyboard, zoom and a screen reader, not with Lighthouse alone.
Source: GOV.UK Accessibility in government: What we found when we tested tools on the world's least-accessible webpage
Topic: Testing a page the way its visitors use it · science, tools, people
The screen readers people use
In WebAIM's survey of December 2023 and January 2024, screen reader users named their main desktop screen reader: JAWS for 40.5%, NVDA for 37.7% and VoiceOver for 9.7%. NVDA is free. Michael Curran began writing it in April 2006, and he and James Teh, both fully blind, founded the not-for-profit NV Access to support it. The two had met as children at a music camp for the blind.
Why it fits here: NVDA is the screen reader this topic suggests for testing on Windows, and it costs nothing.
Sources: WebAIM: Screen Reader User Survey #10 Results; NV Access: About NV Access
Topic: Testing a page the way its visitors use it · people, tools, numbers
Lesson 8: Putting a page online
The first web server
The world's first web server was a NeXT computer that Tim Berners-Lee used at CERN. Its software, CERN httpd, was developed at CERN from 1990 onwards by Berners-Lee, Ari Luotonen and Henrik Frystyk Nielsen, and it was the first web server software. The first website still has a home at info.cern.ch.
Why it fits here: Every host in this topic does the job that one NeXT computer did first: keep the files and answer every browser that asks.
Sources: Wikipedia: CERN httpd; CERN: info.cern.ch, home of the first website
Topic: Hosting: a server for your folder · history, internet, tools
The slash a server adds
Apache, a web server first released in April 1995, still answers folders this way. Asked for a folder's address without its slash, it redirects the browser to the same address with the slash, because directories require a trailing slash. Asked for a folder, its default is to look for a file named index.html.
Why it fits here: The slash at the end of a folder's address, and the index.html it finds, are the two rules of this topic.
Sources: Apache HTTP Server documentation: mod_dir; Wikipedia: Apache HTTP Server
Topic: Hosting: a server for your folder · tools, internet
The snippet is Google's choice
Google says it builds the short text under a search result, the snippet, mainly from the page's own content, and may show different snippets for different searches. It may use the meta description when that describes the page better. Another old tag counts for nothing at Google: on 21 September 2009 it wrote that it does not use the keywords meta tag in web search ranking.
Why it fits here: The meta description of this topic is an offer to the search engine, not an order, so it is written for the person deciding whether to click.
Sources: Google Search Central: Control your snippets in search results; Google Search Central Blog: Google does not use the keywords meta tag in web ranking
Topic: Finishing the head · internet, tools
Favicon means favorite icon
The word favicon is short for favorite icon. Favicons began in March 1999, when Microsoft released Internet Explorer 5, which supported them for the first time. The icon was a file called favicon.ico in the top folder of a site, shown in the browser's favorites. A side effect: counting requests for that file gave an estimate of how many visitors had bookmarked the page.
Why it fits here: The favicon line of this topic is the modern way to name that picture, and the HTML standard still lets browsers ask for /favicon.ico when a page names none.
Sources: Wikipedia: Favicon; HTML Standard (WHATWG): link type icon
Topic: Finishing the head · history, words, internet
The first validators
The first online HTML validator was written by Dan Connolly and Mark Gaither, and announced on 13 July 1994. Gerald Oskoboiny then built a friendlier one, called The Kinder, Gentler HTML Validator. He began working for the W3C in September 1997, and on 18 December 1997 the W3C announced its own validator, based on his work.
Why it fits here: The validator.w3.org of this topic grew from those first two validators.
Sources: W3C: About the Markup Validation Service; Wikipedia: W3C Markup Validation Service
Topic: Checking a page before it goes online · history, people, tools
Liberal in what you accept
In January 1980 Jon Postel edited the standard for TCP, the Transmission Control Protocol. Its section on robustness says: be conservative in what you do, be liberal in what you accept from others. The idea is also known as Postel's law. Browsers are liberal with HTML: the HTML standard defines how to read a page whether it is syntactically correct or not.
Why it fits here: This is why the browser of this topic never complains, and why a validator, strict where the browser is forgiving, is needed.
Sources: RFC 761: DoD standard Transmission Control Protocol; Wikipedia: Robustness principle; HTML Standard (WHATWG): parse errors
Topic: Checking a page before it goes online · history, people, internet
Free, within limits
GitHub says Pages is for hosting a website about yourself, your organization or your project. A published site may be no larger than 1 GB, with a soft limit of 100 GB of traffic a month. Pages is not meant to be free hosting for an online business or a shop: GitHub's own rules say so.
Why it fits here: The first page of this topic, like a portfolio or a project's notes, fits well inside those limits.
Sources: GitHub Docs: What is GitHub Pages?; GitHub Docs: GitHub Pages limits
Topic: Putting your first page online · tools, internet
The host of this very site
Cloudflare Pages, which serves this Study Room, was announced as a beta in December 2020 and became generally available on 12 April 2021. On its free plan a site can hold up to 20,000 files and run 500 builds a month. A build runs each time new code is pushed to the site's repository.
Why it fits here: The page you are reading went online the way this topic shows: a folder of files, sent to a free host.
Sources: The Cloudflare Blog: Cloudflare Pages is now Generally Available; Cloudflare Docs: Pages limits
Topic: Putting your first page online · tools, internet
Before names, one shared list
Before domain names, the Stanford Research Institute kept one text file, HOSTS.TXT, that matched host names to the numerical addresses of computers on the ARPANET. As the network grew, that host table became slow and unwieldy. Paul Mockapetris created the Domain Name System in 1983, and described it in November 1983 in RFC 882.
Why it fits here: The DNS record of this topic is one entry in that system, pointing your name at your host.
Sources: Wikipedia: Domain Name System; RFC 882: Domain names, concepts and facilities
Topic: Your own name, and the padlock · history, internet, people
A lock that many misread
Browsers have shown a lock for HTTPS since early versions of Netscape in the 1990s. In 2013 only 14% of the top million sites supported HTTPS; by 2023, over 95% of page loads in Chrome on Windows used it. Chrome's research in 2021 found that only 11% of participants understood the lock's precise meaning, while nearly all phishing sites use HTTPS too. So in May 2023 Chrome announced it would replace the lock with a tune icon.
Why it fits here: The HTTPS of this topic seals the connection; it says nothing about whether the site itself is honest.
Source: Chromium Blog: An Update on the Lock Icon
Topic: Your own name, and the padlock · history, numbers, internet
Free certificates since 2015
Let's Encrypt is a free, automated and open certificate authority, run for the public's benefit by the Internet Security Research Group. It gives people the certificates they need to enable HTTPS for websites, for free. It issued its first certificate on 14 September 2015.
Why it fits here: The free certificates that hosts in this topic set up by themselves are the kind Let's Encrypt began to issue in 2015.
Sources: Let's Encrypt: About; Let's Encrypt: Our First Certificate Is Now Live
Topic: Your own name, and the padlock · history, internet, tools
No fact matches. Try a shorter word, or take the tag off.