
585
ADOBE GOLIVE CS2
User Guide
Adding elements in the Outline Editor
While working in the Outline Editor, you can quickly add HTML elements along with their start and end tags. You
can select an element from a context menu that lists all elements defined in Web Settings, or only the elements that
the document’s DTD allows within or after the currently selected element. Or, you can define a new element by
typing the element’s tag directly in the Outline Editor.
When adding an element, you can choose to add the new element either at the same level in the HTML hierarchy as
the selected element, or at the next level deeper than the selected element.
See also
“Setting the document type definition” on page 161
To add an element in the Outline Editor
1
In the Outline Editor, select the existing HTML element that is immediately above the location in the outline
where you want to add the new element. For example, to add a paragraph element below a table element, select the
table element.
2
To add an element at the same level in the HTML hierarchy as the selected element, do one of the following:
•
To choose from a list of allowable elements, right-click and choose Add Item After > By Syntax >
[element]
. Two
boxes representing the start and end tags for the element are added to the outline after the end tag of the previously
selected element. (Some elements, such as img or meta elements, cannot have end tags, so only one box is added.)
The By Syntax submenu is especially useful for adding elements to documents that must comply with an XML DTD.
•
To display a list of elements from the Markup tab of Web Settings, right-click and choose Add Item After > New
Element >
[element]
.
•
To enter a new element, right-click and choose Add Item After > New Element > Any, or collapse the existing
selected element and click the Add New Element button
on the toolbar. Then enter a name for the new element
in the text box. The new element is added after the end tag of the previously selected element.
3
To add an element within another element (that is, at the next level deeper in the HTML hierarchy), do one of the
following:
•
To display a list of allowable elements, right-click and choose Add Item Into > By Syntax >
[element]
. The new
element is added between the start and end tags of the previously selected element.
•
To display a list of elements from the Markup tab of Web Settings, right-click and choose Add Item Into > New
Element >
[element]
.
•
selected element and click the New Element button
To enter a new element, right-click and choose Add Item Into > New Element > Any or expand the existing
on the toolbar. Then enter a name for the new element
in the text box. The new element is added between the start and end tags of the previously selected element.
Содержание GOLIVE CS2
Страница 1: ...Chapter 1 Copyright User Guide...
Страница 251: ...ADOBE GOLIVE CS2 242 User Guide...