Inserting new source code
By using the Visual Tag Editor, you can easily insert new source code while working in the Layout Editor.
To insert new source code: - In the Layout Editor, place the cursor where you want to insert source code. Be careful to avoid selecting existing text or elements, which would open the Visual Tag Editor in Edit mode.
- Choose Special > Visual Tag Editor.
- To insert a element with the Visual Tag Editor, do one of the following:
- Type the element's tag in the upper pane displaying the empty tag.
- Double-click the tag in the list box.
- To insert an attribute, do the following:
- Type a blank space after the tag. Whenever you type a space after a tag, GoLive displays the relevant attributes for that tag in the list box.
- Insert an attribute by typing the attribute in the upper pane or double-clicking it in the list box.
- Type a value for the attribute.
Note: GoLive obtains the tags, attributes, and values for the list box in the Visual Tag Editor from the DTD set by the current doctype. (See Setting the doctype of a document.) If the document doesn't have a doctype, GoLive uses the Markup tab in Web Settings. (See Using the Markup tab.) - When you have finished entering the source code, click OK.
|