Graphics Programs Reference
In-Depth Information
3. Right-click the blank line you just inserted, and then click Paste on the context
menu. The meta keywords and descriptions tags are added in the blank line.
4. In the Property inspector, click the Refresh button. The code is updated. See
Figure 6-6.
Figure 6-6
Meta tags added to the about.html page
meta keyw ords and
description tags
5. Save and close the page.
6. Repeat Steps 2 through 5 for the following pages in the site: contact.html ,
lineup.html , schedule.html , and tickets.html .
Using Library Items
Sometimes you need to add the same element to many pages of a site. To save time and
ensure consistency, you can save the element as a library item. A library item is a page
element saved in the .lbi fi le format that can be inserted in more than one page of a site.
A library item can include most elements in the body of a Web page, including bits of
code, text, images, tables, forms, and formatting. You cannot create a library item for
head content. So, a library item cannot contain the meta description or the meta key-
words. Library items are stored in the library , which is a folder that Dreamweaver adds to
the local root folder when you create the fi rst library item for the site.
The library and library items are Dreamweaver authoring tools. This means that unlike
other items that you have added to pages (CSS styles, for example), libraries and library
items do not exist outside Dreamweaver. When you upload the site to a remote server,
you do not need to upload the Library folder because each page that includes a library
item contains the corresponding library item code.
You can view the library in
the Assets panel when you
click the Library button.
Creating Library Items for Page Elements
Library items help you automate site design and decrease redundant work. You should
create library items for any element that you intend to reuse in several pages of a site or
update frequently such as footers or a list of upcoming events. Using library items not
only saves you time, but it also ensures consistency of those elements throughout the
site. Repeated elements are often placed in the same location on all pages. It is a good
idea to delete unused library items from the library to keep your site uncluttered and
well organized.
Search WWH ::




Custom Search