Do one of the following:
You can specify how the slice data appears in a web browser when exported with an HTML file. The available options vary according to the slice type you select.
Note: Setting options for an auto slice promotes the slice to a user slice.
Select a slice and double-click the slice with the Slice Select tool to display the Slice Options dialog box. In the Slice Options dialog box, type a new name in the Name text box.
Note:The Name text box is not available for No Image slice content.
You can select a background color to fill the transparent area (for Image slices) or entire area (for No Image slices) of the slice.
Photoshop does not display the selected background color—you must preview the image in a browser to view the effect of selecting a background color.