Dreamweaver

Add an asset to a document

You can insert most assets into a document by dragging them into the Code view or Design view in the Document window, or by using the Insert button in the panel. You can either insert colors and URLs or apply them to selected text in the Design view. (URLs can also be applied to other elements in the Design view, such as images.)

  1. In Design view, place the insertion point where you want the asset to appear.
  2. In the Assets panel, select from the asset category buttons at the left.
    Note: Select any category except Templates. A template is applied to an entire document; it can’t be inserted into a document.
  3. Select either Site or Favorites at the top of the panel, then select the asset.

    There are no Site or Favorites lists for library items; skip this step if you’re inserting a library item.

  4. Do one of the following:
    • Drag the asset from the panel to the document.

      You can drag scripts into the head content area of the Document window; if that area isn’t visible, select View > Head Content.

    • Select the asset in the panel and click Insert.

      If the inserted asset is a color, it applies to text appearing after the insertion point.