Operation Manual

203
USING DREAMWEAVER
Adding content to pages
Last updated 3/28/2012
View the HTML code associated with the selected text or object
Do one of the following:
In the Document toolbar, click the Show Code View button.
Select View > Code.
In the Document toolbar, click the Show Code and Design Views button.
Select View > Code and Design.
Select Window > Code Inspector.
When you select something in either code editor (Code view or the Code inspector), it’s generally also selected in the
Document window. You may need to synchronize the two views before the selection appears.
Show or hide marker icons for invisible elements
Select View > Visual Aids > Invisible Elements.
Note: Showing invisible elements may slightly change the layout of a page, moving other elements by a few pixels, so for
precision layout, hide the invisible elements.
Set invisible elements preferences
Use Invisible Elements preferences to specify which kinds of elements will be visible when you select View > Visual
Aids
> Invisible Elements.
1 Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh), then click Invisible Elements.
2 Select which elements should be made visible and click OK.
Note: A check mark next to the name of the element in the dialog box means the element is visible when View > Visual
Aids
> Invisible Elements is selected.
Named Anchors Displays an icon that marks the location of each named anchor (a
name = "") in the document.
Scripts Displays an icon that marks the location of JavaScript or VBScript code in the body of the document. Select
the icon to edit the script in the Property inspector or to link to an external script file.
Comments Displays an icon that marks the location of HTML comments. Select the icon to see the comment in the
Property inspector.
Line Breaks Displays an icon that marks the location of each line break (BR). This option is deselected by default.
Client-Side Image Maps Displays an icon marking the location of each client-side image map in the document.
Embedded Styles Displays an icon showing the location of CSS styles embedded in the body section of the document.
If CSS styles are placed in the head section of a document, they do not appear in the Document window.
Hidden Form Fields Displays an icon that marks the location of form fields that have the type attribute set to
"hidden".
Form Delimiter Displays a border around a form so you can see where to insert form elements. The border shows the
extent of the
form tag, so any form elements inside that border are properly enclosed in form tags.
Anchor Points For AP elements Displays an icon that marks the location of code defining an AP element. The AP
element itself can be anywhere on the page. (AP elements are not invisible elements; only the code defining the AP
element is invisible.) Select the icon to select the AP element; you can then see the contents of the AP element even if
the AP element is marked as hidden.