
1014
Part VI
Enhancing Productivity and Web Site Management
FIGURE 29-2
The Library Item Properties panel identifies the source file for any selected Library entry.
In this case, the Library item happens to be a phrase: Copyright © 2009. (The character entity
© is used to represent the c-in-a-circle copyright mark in HTML.) In addition to the span
wrapping the copyright, notice the text before and after the HTML code. These are commands
within the comments that tell Dreamweaver it is looking at a Library item. One line marks the
beginning of the Library item:
<!-- #BeginLibraryItem “/Library/Copyright.lbi” -->
and another marks the end:
<!-- #EndLibraryItem -->
Two items are of interest here. First, notice how the Library demarcation surrounds not just the text
(
Copyright © 2007) but all its formatting attributes as well. Library items can do far more than just
cut and paste raw text. The second thing to note is that the Library markers are placed discretely within
HTML comments. Web browsers ignore the Library markers and render the code in between them.
The value in the opening Library code,
“/Library/Copyright.lbi”, is the source file for the
Library entry. This file is located in the Library folder, inside of the current site root folder. Library
source (
.lbi) files can be opened with a text editor or in Dreamweaver; they consist of plain HTML
code without the
<html> ...