
588
ADOBE GOLIVE CS2
User Guide
Binary or container tags in the Outline Editor
You can toggle the binary tag format on and off in the Outline Editor to determine whether a new tag has a comple
mentary end tag or not. Most tags are binary tags, or container tags. Binary tags enclose the content of an element in
a pair of tags, called start and end or open and close tags. By default, GoLive displays both parts of a binary tag. A
few tags (called
unary
tags), however, don’t need an end tag. One of the most frequently used unary tags is the <img>
tag for embedding images.
To toggle the binary format on and off in the Outline Editor
You can toggle the binary tag format for the currently selected element only.
1
In the Outline Editor, select an element that has binary tags.
2
Click the Toggle Binary button
in the Outline Editor toolbar.
Adding new elements to source code
Adding unknown elements
HTML is an ever-evolving language, and new elements are created often. To ensure that your documents are always
up to date and use the latest technology, you can use the Tag icon to insert placeholders for elements that GoLive
doesn’t recognize.
You can also use the Tag icon to prevent GoLive from parsing or changing your source code. After you drag the Tag
icon from the objects toolbox to the document window, GoLive adds <noedit> and </noedit> start and end tags to
your source code, and inserts a Tag placeholder in your document in the Layout Editor. You can then enter the code
you don’t want parsed in the Content tab of the Tag Inspector. GoLive inserts your code between the <noedit> tags
without changing it.
To add an unknown element
1
In the Layout Editor, drag the Tag icon from the Basic set in the objects toolbox to the document window.
A
B
Using the Tag icon
A.
The Tag placeholder as it appears in the Layout Editor
B.
Tag icon in the objects toolbox
2
In the Element tab of the Element Inspector, enter the name of the new element in the Element text box.
3
Click the Create New Item button
at the bottom of the Element Inspector. (This activates the text boxes below
the list box.)
4
Enter an attribute name in the left text box, and then enter an attribute value in the right text box.
5
To delete the currently selected attribute, click the Remove Selected Items button
.
Note:
To add an unknown element to the head section of your document, drag the Element icon from the Head tab of
the objects toolbox to the head section panel of the document window.
Содержание GOLIVE CS2
Страница 1: ...Chapter 1 Copyright User Guide...
Страница 251: ...ADOBE GOLIVE CS2 242 User Guide...