Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office FrontPage
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
About using graphics in your Web pages
 

You can use graphics on your Web pages to display information, artwork, photos, drawing objects (drawing object: Any graphic you draw or insert, which can be changed and enhanced. Drawing objects include AutoShapes, curves, lines, and WordArt.), theme (theme: A theme applies a set of coordinated graphic elements to a document, page, or across all pages in a Web site. Themes can consist of designs and color schemes for fonts, link bars, and other page elements.) elements, or a company logo. In addition to being decorative, graphics can be useful for items such as navigational buttons, hot spots, and image maps. Microsoft FrontPage also gives you a variety of ways to lay out the graphics on your Web pages.

Uses for graphics

Callout 1 Graphic used as a background

Callout 2 Banner graphic

Callout 3 Company logo

Callout 4 Graphical bullets

Callout 5 Link bar with graphic navigation buttons

Callout 6 Graphical horizontal line

ShowChoose a file format

When you are ready to add graphics to your Web pages, you must determine how you should format them. A graphics file in its natural state is too large to download quickly over the Web, so you must reduce the size of the file by compressing it.

The standard file formats for Web pages are GIF (GIF: A graphics file format (.gif extension in Windows) used to display indexed-color graphics on the World Wide Web. It supports up to 256 colors and uses lossless compression, meaning that no image data is lost when the file is compressed.), JPEG (JPEG: A graphics file format (.jpg extension in Microsoft Windows) supported by many Web browsers that was developed for compressing and storing photographic images. It's best used for graphics with many colors, such as scanned photos.), and more recently PNG (PNG: A graphic file format that is supported by some World Wide Web browsers. PNG supports variable transparency of images (alpha channels) and control of image brightness on different computers (gamma correction). PNG files are compressed bitmaps.). There are many factors that determine which file format you will use for each graphic. The best format depends on the type of graphic you're working with, the size of the file, how small you want the graphic file to appear, and the way you want the image to download.

  • GIF   Graphics in GIF format are best when used with images that contain only a few distinct colors, such as line drawings and black and white images.

    One of the advantages to GIF compression format is that you can interlace it to improve the browser download experience. An interlaced GIF appears first with poor resolution and then improves until the entire image arrives. This allows the viewer to get an idea of what the graphic will look like while they are waiting for the graphic to appear.

    Another useful aspect of graphics in GIF format is that you can make the background of a GIF transparent, so you see the background color of the browser window you're in.

  • JPEG   JPEG format is commonly used for photo-realistic graphics containing thousands or millions of colors. Graphics in JPEG format are useful because you can control the file compression by changing the graphic quality. The lower you set the quality, the higher the file compression will be. As a result, the file size is decreased.

    Graphics in JPEG format permit a greater degree of compression than the GIF format alternative, enabling quicker downloading times for larger graphics. However, a browser can only download a graphic in JPEG format linearly, from the top row to the bottom row.

  • PNG   PNG format is an alternative to GIF and JPEG that supports transparency for graphics containing thousands or millions of colors. Some Web browsers cannot display graphics in PNG format without a special plug-in (plug-in: One of a set of software modules that integrate into Web browsers to offer a range of interactive and multimedia capabilities.). The following are the types of PNG formats that you can choose:
    • PNG-8 format is similar to GIF but it offers better 8-bit color support. It efficiently compresses solid areas of color while preserving sharp detail, such as that in line art, logos, or illustrations with type. This format is not very common and it is not supported by all browsers.
    • PNG-24 format is also similar to GIF and it supports 24-bit color. Like JPEG format, PNG-24 preserves the broad range and subtle variations in brightness and hue found in photographs. Like the GIF and PNG-8 formats, PNG-24 preserves sharp detail, such as that in line art, logos, or illustrations with type. This format is not very common and it is not supported by all browsers.

ShowOther types of file formats

You can also add graphics in the following file formats:

BMP    The native bitmap format of the Microsoft Windows environment is a picture made from a series of small dots and it supports images up to 24 bits.

WMF   Microsoft Windows Metafile format supports bitmapped, vector (vector graphics: The representation of graphic objects such as lines, arcs, and squares by using geometrical formulas. By contrast, bitmapped graphics (also called raster graphics) are stored as a collection of pixels.), and Encapsulated PostScript (EPS) data.

ShowAdd an animated GIF

An animated GIF is a type of graphic that you can use to create movement or animation by combining several sequential images into a single GIF file. You can create an animated GIF in a graphics program, and you can find animated GIFs on the World Wide Web. You can then add them to your Web site.

The animation in this example plays once when the page is opened.

Animation

advertisement