Dreamweaver

Create a library item

Library items are elements that you want to reuse or update frequently throughout your website.

Create a library item based on a selection

  1. In the Document window, select a portion of a document to save as a library item.
  2. Do one of the following:
    • Drag the selection into the Library category .

    • Click the New Library Item button at the bottom of the Library category.

    • Select Modify > Library > Add Object To Library.

  3. Type a name for the new library item, then press Enter (Windows) or Return (Macintosh).

    Dreamweaver saves each library item as a separate file (with the file extension .lbi) in the Library folder of the site’s local root folder.

Create an empty library item

  1. Make sure nothing is selected in the Document window.

    If something is selected, it will be placed in the new library item.

  2. In the Assets panel, select the Library category .
  3. Click the New Library Item button at the bottom of the panel.
  4. While the item is still selected, enter a name for it, then press Enter (Windows) or Return (Macintosh).