To create a Library item, start by opening the Library window. Choose Window → Assets, and click the Library Items button (it looks like an open book, circled in Figure 16-4) to reveal the Library category.
Now select the part of your document that you wish to save as a Library item: a blob of text, a graphic, or whatever.
Note, however, that Library items can contain only page elements that appear in the document window—in other words, only HTML from the <body> of a Web page. You can't include anything that appears in the <head> of a page, like Cascading Style Sheets, Dreamweaver Behaviors (Chapter 11), or meta tags. Furthermore, Library items must include a complete set of HTML tags—both an opening and closing tag—as well as all tags necessary to complete the original object. For example, Dreamweaver doesn't let you turn just a single cell, row, or column of a table into a Library item. If you try, Dreamweaver adds the entire table to the Library.
Use the tag selector (see Section 1.2.1) to make sure you select the precise tag information you want. To select all of the contents of a cell, click at the beginning of the content and drag until you've selected everything in the cell.
Next, add the selection to the Library. As you may expect, Dreamweaver provides several ways to do this:
Drag the highlighted selection into the list of Library items.
Click the New Item button (Figure 16-4).
Choose Modify → Library → Add Object to Library.
The new item appears ...