SEO basics every developer should build in
The technical foundations that let search engines find, understand and show your pages. No tricks, no guarantees, just good struc…
Make text easy to read before making it pretty.
Use one font for headings and one for body text, or just one family. Too many fonts look messy and slow the page.
body {
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 1rem;
line-height: 1.6;
}System fonts load instantly and look native on each device.
.article { max-width: 65ch; }Headings should be clearly bigger or bolder than body text, with more space above than below, so each heading belongs to the text under it.
@font-face {
font-family: "Inter";
src: url("fonts/inter.woff2") format("woff2");
font-display: swap;
}
body { font-family: "Inter", system-ui, sans-serif; }font-display: swap shows text immediately with a fallback font, and swaps when the web font is ready.
Always include a fallback list (system-ui, sans-serif), and check the licence of any font you use.
The technical foundations that let search engines find, understand and show your pages. No tricks, no guarantees, just good struc…
Practical checks that make a site usable by people with low vision, keyboard-only users and screen-reader users. They also help e…