Welcome to the File-type Icons: a distribution of 50 icons in PNG image format. Each icon is 16 × 16 pixels in size and can be used by web servers and web authors to indicate the type of a file.
You can use any of the file-type icons in your web pages by using the
standard <img>
element. For best
effect, the image should sit either on the baseline or slightly below it.
This can be done in one of two ways:
You can use the standard HTML Transitional align="bottom"
attribute and value, as
shown:
<img src="file-type-icon.png" alt="[TYPE]" width="16" height="16" align="bottom">
(Preferred) You can use the XHTML Strict class="icon16"
with a suitable CSS
definition:
<img src="file-type-icon.png" alt="[TYPE]" width="16" height="16" class="icon16" />
At a minimum, the CSS definition should read:
img.icon16 { vertical-align: -2px; margin: 0; padding: 0; border: none }
Note that the icon image will be displayed slightly below the
text baseline for best effect; the value -2px
may need to be tweaked, depending on the fonts you use. You can
also use baseline
if you wish.
When using the file-type icons for hyperlinks, you should actually use
two <a>
elements: one for the
image, and one for the text. For example,
sample.html (20 KB)
or
Sample Page (20 KB).
This prevents the space between the image and the hyperlink text from
being underlined. Omitting attribute values for clarity, this means you
should write HTML code similar to the following:
<a><img /></a> <a>text</a> (size)
The icons in this distribution were derived from those available in KDE 2.2 and are released under the terms of the GNU General Public License. Using The GIMP, each icon has been optimised for use on web pages: backgrounds have been made correctly transparent, with white as a default background colour; individual pixels and colours have been tweaked; and the PNG files have been made as compact as possible.
The following icons may be used to represent file types:
file-archive.png: Archive
file-binary.png: Binary file
file-broken.png: Broken file
file-cdtrack.png: CD-ROM image
file-compressed.png: Compressed file
file-core.png: Core dump
file-deb.png: Debian package
file-document.png: Document
file-dvi.png: DVI output or TeX source
file-font-bitmap.png: Bitmap font
file-font-truetype.png: TrueType font
file-font-type1.png: Type 1 (Postscript) font
file-generic.png: Generic file
file-html.png: HTML file
file-image.png: Image
file-info.png: Info file
file-link.png: Symbolic link
file-log.png: Log file
file-make.png: Makefile
file-man.png: Manual page
file-metafont.png: Metafont source
file-midi.png: MIDI music
file-miscdoc.png: Miscellaneous document
file-multiple.png: Multiple files
file-office.png: Microsoft Office or OpenOffice document
file-pdf.png: Adobe PDF (Acrobat)
file-postscript.png: Adobe Postscript
file-rpm.png: Redhat package
file-shellscript.png: Shell script
file-sound.png: Sound or music
file-source.png: Source file
file-source-alt.png: Source file (alternative)
file-text.png: Text file
file-unknown.png: Unknown file
file-vectorgfx.png: Vector graphics
file-video.png: Video
The following icons may be used to represent directory folders or help/manual document folders:
folder.png: Directory folder
folder-open.png: Directory folder, open
folder-locked.png: Directory folder, locked
book-closed.png: Book, closed
book-open.png: Book, open
The following icons may be used to represent the root of a directory structure, or links to other locations:
cdrom.png: CD-ROM
ftp.png: FTP link
http.png: HTTP link
world.png: The World
You never really know when you might need the following icons:
Copyright © 2002–06, John Zaitseff. Distributed under the terms of the GNU General Public License.left.png: Left arrow
right.png: Right arrow
up.png: Up arrow
down.png: Down arrow
blank.png: Blank icon