Grey backgrounds, black serif text and blue underlined links. The first pages were documents, linked together.
Web design ideas
A good web page is mostly type, space and a little heat.
Pepper Web Design is a website of ideas about how web pages are made to look and read well: choosing type and colour, arranging a layout, leaving room, designing for a phone first, and the long, odd history of the web page itself.


Paper first
Draw it badly before you build it well.
A pencil sketch of a page, boxes for pictures and lines for text, costs nothing and settles the big questions early: what matters most, what comes first, where the eye should land. Moving a rectangle on paper takes a second; moving it in code can take an afternoon.
Type
Most of a web page is words.
So the typeface does most of the design work. One family for headings and one for reading is usually plenty. Body text needs a comfortable size, generous line height and lines that are not too long to follow.
Aa
Headline, bold and short
Reading text sits around sixteen to eighteen pixels, with a line height near one and a half, and lines of roughly sixty to seventy-five characters.

Colour you can read
Contrast is the part of colour that everyone needs.
The Web Content Accessibility Guidelines ask for a contrast ratio of at least 4.5 to 1 for normal text. Bright colours make lovely accents and poor paragraphs.
- Ink on white 17.8 to 1
- White on pepper red 7.3 to 1
- Ink on yellow 10.6 to 1
- Yellow on white 1.7 to 1, keep it for shapes

Layout
A grid you cannot see holds the page together.
Columns and a consistent spacing scale give a page its calm. When the edges of text and pictures line up, readers stop noticing the layout and start reading. Break the grid on purpose, once, and it looks like a decision.
Leave room.
Empty space is not wasted space. It is what lets the important thing look important.
Phones
Design for the thumb first.
Most people meet a website on a phone, held in one hand. A single column, text that does not need zooming, buttons big enough for a fingertip and nothing that scrolls sideways make a page that works everywhere; the wide screen can then have the extras.

History
Every web page is standing on older ones.

Tables used for layout, spacer images, visitor counters and tiled backgrounds, as designers bent a document format into posters.
Style sheets separated looks from content. Glossy buttons and gradients arrived, then web fonts.
Smartphones made responsive design normal: one page that rearranges itself for every screen.

Speed
A light page is a kind page.
Fewer fonts, properly sized images and less script make pages that load quickly on a weak signal and an old phone. Speed is a design choice as much as a technical one.

A little heat goes a long way.
Use the loud colour once, for the thing you most want people to do. Let everything else be calm.