88x31 buttons: make a link badge for your website
Published
An 88 × 31 pixel website button is a tiny image that links to a site, project or community. To make one, fit a short name and one clear detail into that space. Save it as a PNG or GIF image file, then use the code below to make it a link.
On this page
Download our original example and editable SVG to start at the exact size. The SVG is a drawing file you can edit.
Read a button as part of a page
The 88x31 GIF Collection gathers examples from the 1990s, 2000s and later personal-web culture. Browse a few together and look at their jobs. Some identify a site. Others recommend software, announce a membership or make a personal statement.
A button’s meaning often depends on its destination. The same small image can function as a logo on its owner’s homepage and as a recommendation on somebody else’s links page. Follow the link and read the surrounding words before deciding what the graphic means.
For the wider context, Olia Lialina’s A Vernacular Web explores how people used links and homemade graphics on their own websites.
Design the name before the decoration
Write the shortest label that still identifies your site. A long project title may need a familiar abbreviation or two lines. Put the distinctive word where the eye finds it first.
Leave four pixels of space around the name. This gives you an 80 × 23 pixel area inside the border. Use two short lines if the title will not fit on one. Our example places cream lettering on dark blue, with pale blue and yellow borders; keep the decorative edge outside the lettering.
Draw at the intended size and enlarge the view when you need to edit individual pixels. Return to 88 × 31 pixels to check that the letters are clear and the border is the width you want.
Keep an editable master
The download includes button.svg and my-small-website.png. Edit the SVG’s words and color values, or use the 88×31 button maker to create a new label in your browser. Keep the editable file with the finished image for future changes.
For a pixel-based design, save the editor’s working file as well as the PNG or GIF export. Give the published file a short, stable name such as site-button.png.
Start with a still PNG so you can judge the name at 88 × 31. For an animated version, follow the two-frame method in the blinkie guide while keeping this button’s dimensions.
Turn it into a useful link
Put the image code inside a link, marked by <a> and </a>:
<a href="https://example.org/">
<img src="site-button.png" width="88" height="31"
alt="Visit the Small Things Observatory">
</a>
Replace the example address with the destination and match the filename to your uploaded image. The alt text describes the link for people who cannot see the image. The width and height values leave room for the image while it loads, as MDN’s image reference explains.
When you share somebody else’s button, add a sentence explaining what the site contains or why you enjoy it.
Make sharing simple
On your own links or about page, offer the image, its dimensions and a short linking example. Say how people may share or change your design and how they should credit you. Make the web address easy to copy.
When you use another creator’s button, follow their sharing instructions and keep its destination accurate. The collection’s maintainer asks visitors to copy image files to their own sites. Your copy can still load if the other site moves or removes its file.
Finally, open the page at a narrow width and use the keyboard to reach each linked button. Leave room for the outline that marks the selected link.