Lexikon
My working reference for web engineering and AI tools: HTML, CSS, JavaScript, PHP, Python, SQL, Bash, GitHub, Claude, Codex, Hermes, and the expressions AI assistants use, each explained in plain language with an example.
Filters (3 active)
A
-
Accessibility (a11y)
Making a site usable for everyone, including people using screen readers, keyboards or zoom.
-
Array (PHP)
PHP's all-purpose list: either numbered (a list) or keyed (like a dictionary).
-
Attribute
Extra information inside an opening tag, written as name="value".
B
-
Basic types (str, int, float, bool, None)
The building blocks of Python values; None means "no value".
-
Box model
Every element is a box: content, then padding, then border, then margin.
-
Button
The element for actions on the page: submit a form, open a menu, close a dialog.
C
-
Colour contrast
The difference in brightness between text and background; too little and text is hard to read.
-
Colours (hex, rgb, hsl, oklch)
Ways to write a colour in CSS.
-
CSS
The language that styles a web page: colours, fonts, spacing, layout and animation.
D
-
Dictionary (dict)
Python’s key-value map, like a PHP associative array or a JS object.
-
display (block, inline, none)The CSS property deciding how an element takes space: block, inline, flex, grid or hidden.
-
<div> and <span>Neutral containers with no meaning: div for blocks, span for pieces of text.
-
<!DOCTYPE html>The first line of every HTML page; it tells the browser to use modern standards mode.
-
DOM
The page as a tree of objects that JavaScript can read and change.
E
-
Element and tag
One building block of a page, written with an opening and a closing tag.
-
Event listener
A function that runs when something happens on the page: a click, a key press, a form submit.
F
-
f-stringA string with expressions inside {}, filled in at runtime.
-
Favicon
The small icon shown in the browser tab, bookmarks and on a phone home screen.
-
Flexbox
A layout mode for arranging items in one row or column, with control over spacing and alignment.
-
for, while, range, enumerate, zipThe ways to repeat things in Python.
-
Form
A group of inputs that sends what the visitor typed to a server.
-
Function
A named, reusable block of JavaScript code, written with the function keyword or as an arrow function.
-
Function (def)
A named block of reusable code, defined with def; it can take arguments and return a value.
-
Function and arrow function
A named, reusable piece of code; fn() => is a one-line short form.
H
-
Hard-coded
A value written directly into the code instead of coming from settings or data.
-
<head> and <body>The head holds information about the page; the body holds what visitors see.
-
Headings (h1 to h6)
Six levels of titles that build the outline of a page.
-
HTML
The language that describes what is on a web page: headings, text, links, images, forms.
I
-
Image and alt text
The img element shows a picture; alt describes it for people who can't see it.
-
import and modulesEvery .py file is a module; import loads code from another file, the standard library or an installed package.
-
Indentation
In Python, spaces at the start of a line decide which block the line belongs to.
-
Input types
The type attribute turns one input into an email field, date picker, number box, checkbox and more.
J
-
JavaScript
The programming language of web browsers; it makes pages react, and also runs on servers via Node.js.
L
-
Label
The visible name of a form field, connected to it for clicks and screen readers.
-
lang attributeDeclares the language of the page or a part of it.
-
let, const and varWays to declare variables: const for values that won't be reassigned, let for ones that will; avoid var.
-
Link (<a>)
The anchor element: makes text or an image clickable and leads to another page or place.
-
List and tuple
A list is an ordered, changeable collection; a tuple is the same but fixed.
-
Lists (ul, ol, li)
HTML elements for bulleted (ul) and numbered (ol) lists, with one li element per item.
M
-
Media query
CSS that applies only under conditions such as screen width or a dark-mode preference.
-
Meta tags
Tags in the head that describe the page for browsers, search engines and social networks.
P
-
PHP
The server programming language behind WordPress and Laravel; it builds each page before the browser gets it.
-
Python
A readable general-purpose language, the favourite for scripts, data work, automation and AI.
Q
-
querySelectorFinding elements on the page with CSS selectors.
R
-
Responsive design
One page that adapts its layout to every screen, from phone to wide monitor.
S
-
Selector
The part of a CSS rule that chooses which elements it applies to.
-
Semantic HTML
Using the element that says what something is (header, nav, article, button) instead of generic boxes.
-
Spaghetti code
Tangled code with no clear structure, where everything depends on everything else.
T
-
Table
HTML for data in rows and columns: tr for rows, th for heading cells, td for cells.
-
Template literalStrings in backticks that can span lines and include ${values}.
-
Types and equality (=== vs ==)JavaScript values: string, number, boolean, null, undefined, object, array; always compare with ===.
-
Typography in CSS
Fonts, sizes, line height and spacing: what makes text pleasant to read.
U
-
Units (px, rem, em, %, vw, vh)
How sizes are measured: fixed pixels, relative to the font size, the parent or the screen.
V
-
Variables and types in PHP
Variables start with $; values can be strings, integers, floats, booleans, arrays, objects or null.
-
Viewport meta tag
The line that tells phones to show the page at its real width instead of a zoomed-out desktop view.
W
-
Web fonts (@font-face)
Loading your own font files so the site looks the same everywhere.