Design By Medium

The Art of Designing for Web

A plain-language look at designing for browsers: how layout, responsiveness, on-screen type, loading speed and navigation shape a page people can actually use.

On this page
  1. A page that is never the same twice
  2. Layout that adapts
  3. Type that reads well on a screen
  4. Hierarchy and attention
  5. Color, contrast and access
  6. Images and loading
  7. Navigation and structure
  8. Testing with real use

A page that is never the same twice

A printed poster is finished the moment it leaves the press. A web page is not. It is a set of instructions that each visitor’s browser interprets, and the result depends on screen size, window width, device settings, text size preferences, connection speed and even whether images load at all. Good web design starts by accepting this: you are not drawing one picture, you are describing how a page should behave across many conditions.

That does not make visual craft less important. It changes where the craft goes. Instead of placing every element at a fixed spot, a web designer decides on relationships: this heading is larger than that paragraph, this column is wider than that sidebar, this image sits above the text on narrow screens and beside it on wide ones.

Layout that adapts

The practical answer to unpredictable screen sizes is a flexible structure. A responsive layout lets columns stack, shrink or reflow as the available width changes, so the same content stays usable on a phone, a tablet and a large monitor. Designers usually decide in advance at which widths the layout should change and what each version prioritizes.

Underneath, most web pages rely on some kind of grid. Well-chosen layout grids keep edges aligned and spacing predictable, which makes pages feel organized even when the content differs from one page to the next. A simple grid with a few column options is often easier to maintain than a very elaborate one.

A useful habit is to design the narrow version first. Squeezing a complicated wide layout into a small screen tends to produce compromises, while growing a simple layout outward usually gives you room to add things only where they help.

Type that reads well on a screen

Most web pages are mostly text, so reading comfort deserves early attention. Text on a screen is made from glowing pixels, and the way letters are drawn varies by device and system. That is why screen typography is its own subject rather than a copy of print rules.

A few principles hold up broadly:

  • Body text that is too small is the most common reading problem. Err on the larger side and let people zoom.
  • Moderate line length helps the eye find the next line. Very wide paragraphs tire readers; very narrow ones chop sentences into fragments.
  • Generous line spacing usually makes longer passages easier to read, especially on small displays.
  • Limit the number of type styles. A few sizes with clear roles are easier to follow than many near-identical ones.

Choosing sizes in a consistent progression, often called a type scale, keeps headings and body text in a tidy relationship across the whole site.

Hierarchy and attention

Visitors rarely read a page from top to bottom. They scan. Your job is to make the structure visible at a glance so a person can tell what the page is about and where to go next. A clear visual hierarchy does this through size, weight, color and position, so the most important item is noticed first and supporting items follow in order.

Empty space is part of that structure. Generous white space around a heading or a key button separates ideas and gives the eye a place to rest. Pages that fill every gap tend to feel loud, and nothing in them stands out.

When a page wants the visitor to take a specific step, such as signing up or buying, the button or link for that step should look clearly different from ordinary content. The thinking behind a call to action is mostly about making the next step obvious without shouting.

Color, contrast and access

Color on the web has to work for people using bright sunlight, dim rooms, older screens and a range of vision. Sufficient color contrast between text and its background is one of the simplest ways to protect legibility. Pale gray text on white may look refined in a mockup and be hard to read in practice.

More broadly, accessible design means building pages that people with different abilities and tools can use. That includes meaningful headings, text alternatives for images, clear focus states for keyboard users and not relying on color alone to carry meaning. Treating these as part of the original design, rather than a late fix, is usually cheaper and produces better pages for everyone. Specific numeric targets are published in accessibility guidelines, and it is worth checking the current versions rather than relying on memory.

Images and loading

Heavy pages load slowly, and many visitors leave rather than wait. Images are often the largest part of a page’s weight. Matching image resolution to the size it will actually be shown, and compressing files sensibly, can make a large difference without visible loss. Where an element is a simple shape, logo or icon, vector graphics scale cleanly to any size and are typically small files.

Other loading habits are worth knowing at a conceptual level: limit the number of decorative effects, avoid unnecessary custom type styles, and load below-the-fold images later. Test on a slow connection and a modest phone, not only on your own fast machine.

Even a beautiful page fails if visitors cannot find things. Menus should use plain, predictable labels, appear in a consistent place and show where the visitor currently is. Deeper topics, such as how many levels to use, are worth their own attention in work on website navigation, but the core idea is that structure should follow how visitors think about the content rather than how the organization is arranged internally.

Testing with real use

A design is a hypothesis until people use it. Resize the browser, try the page on actual phones, use the keyboard only, increase the text size and watch someone unfamiliar with the site attempt a simple task. Small observations from this kind of testing often reveal more than long internal debate.

Web design rewards restraint and flexibility. Start with the content, give it a clear structure, choose a small set of consistent styles, and check that the result holds up when the conditions change.

Keep exploring

Guides from other topics

All topics →

What Makes A Good Logo

A plain-language look at the qualities of an effective logo: clarity, distinctiveness, fit, flexibility and longevity, and how to judge a mark against them.

Logo Design 5 min read