Selecting elements in the Document window

Typically, you click an element to select it. If an element is invisible, you may need to make it visible before you can select it.

Use these techniques to select elements:

To select an element in the Document window, drag across the element or click the element.
To select an invisible element, choose View > Invisible Elements and then click the element's marker. See About invisible elements.
Some objects appear on the page in a place other than where their code is inserted. For example, a layer can be anywhere on the page, but the code defining the layer is in a fixed location. Dreamweaver displays markers to show the location of the code for invisible elements.
To see the HTML code associated with the selected text or object, choose Window > HTML to open the HTML inspector.
To select HTML code without opening the HTML inspector, click a tag in the tag selector at the bottom left of the Document window. The tag selector always shows the tags that control the current selection or cursor location.
For example, if you have defined a link for an image, the HTML code would look something like this:
<a href="http://www.macromedia.com"><img src="agraphic.gif" ></a> 
Clicking the image in the Document window selects <img src="agraphic.gif">.
To select the link, click the image in the Document window and then click the <a> that appears in the tag selector.