Presentation of a website is extremely important. It doesn’t matter how much work you’ve put into functionality or the back end—if the site looks cheap, you won’t get the views or traffic you deserve. This article covers the basics of web designing.

Originally published on Medium.

Typography

Your font reflects the look and feel of your website. The right font can make a rough-looking site feel classy. Be meticulous—these subtle choices are what make the experience memorable.

Diagram labeling typography anatomy such as baseline, x-height, ascender, and serif
Knowing type anatomy helps you choose and set fonts with more intent.

Use font size between 15px–25px

Your text should be readable—not too small or too large. Keep body text between 15px and 25px. For example, the paragraph text on a typical well-designed page sits in that range.

Use big fonts for headings

Go big on headings. They’re meant to pull focus to what you want people to notice first.

Use line spacing

Line spacing is the space between lines. It should sit around 120% to 150% of the paragraph font size. If the font size is 20px, spacing should land between about 24px and 30px.

45 to 90 characters per line

On a professional site, lines rarely run longer than about 90 characters. Longer lines force the eye to travel too far and get tiring after a few paragraphs. Don’t stretch text from one edge of the screen to the other.

Use good fonts

By good fonts I mean a solid font family. Lato and Open Sans are some of my favorites from Google Fonts. Prefer web fonts like those over default system stacks when you want smoother type—default faces often look less polished on the web.

Colors

Use flat UI colors. Search for flat UI color palettes and you’ll find plenty of sites with ready-to-use color codes. Flat colors work well on websites because they’re solid, uninterrupted, and consistent in stroke, depth, and shading.

Grid of flat UI color swatches with hex codes
Flat UI palettes make it easier to pick a cohesive theme.

One base color

Choose one base color—your theme color—and carry it through the site. On many sites you’ll see blue used consistently as that base.

Use color to draw attention

Use color on buttons, links, or the background of a featured section to pull attention where it matters.

Never use pure black

Prefer a dark grey or a deep blue over pure black. A pure black background kills light from the screen, so eyes work harder and open wider. White text can bleed into that black and look blurry.

Choose color wisely

Different colors convey different messages. Match the palette to the type of site. Banking sites often use blue because it signals trust and integrity.

Red works when you want power, passion, strength, or excitement. Brighter tones feel energetic; darker shades feel powerful and elegant.

Orange draws attention without being as overpowering as red. It suggests cheerfulness and creativity, and can feel friendly, confident, and courageous.

Yellow is energetic and suggests happiness and liveliness. It also associates with curiosity, intelligence, and brightness.

Green is the color of harmony, nature, life, and health—and is often tied to money. In design it can feel balancing and calming.

Blue suggests patience, peace, trustworthiness, and stability. It’s widely liked and associated with professionalism, trust, and honor—which is why so many large social networks use it.

Purple has traditionally signaled power, nobility, and wealth. In design it can feel wise, royal, luxurious, or mysterious.

Pink expresses romance, care, peace, and affection.

Brown suggests relaxation and confidence—earthiness, durability, comfort, and reliability.

Working with images

Put text directly on the image

Overlay text on an image. Absolute positioning or a CSS background image both work.

Put your text in a box

Place the text in a transparent shape, then layer it over the image—simple and effective.

Overlay the image

Similar to text-on-image, but a transparent layer covers the whole image so the type stays readable.

Blur the image

Use the CSS filter property on an img element and set it to blur for a soft background effect.

The floor fade

One of my favorites: use linear-gradient to overlay a color that starts transparent and grows denser toward the bottom.

Working with icons

Use icons wherever they help. They add a premium feel—great for feature lists, actions, links, and buttons.

IcoMoon icon set interface showing selectable SVG icons
Pick a style, export SVGs, and keep icons under your control.

Icon fonts vs SVG

Learn SVG and how to use it in HTML. Icon fonts are less reliable—you depend on third-party hosts, they often fail to show up, and they can slow loading. Prefer SVG (Scalable Vector Graphics): they’re easier to control and usually render faster. Sites like IcoMoon let you pick a style, select icons, download them, and use them directly.

Spacing and layout

Always aim for a clean, simple layout.

Using whitespace

Whitespace guides the flow of a page. Put space between elements, between groups of elements, and between sections. Build a rhythm that matches the message of the content.

Keep it simple

Keep things as simple and natural as possible. That’s the real secret—don’t go overboard with animations, gradients, and colors. Simplicity is what makes a site look good. That doesn’t mean boring; it means subtle.

That’s it for this article. Thanks for reading—see you next time.