Graphics Programs Reference
In-Depth Information
Figure 4-5
Selected div tag in Code view
opening div tag
has the ID style
#container
closing div tag
with the ID
style #container
In Code view, it is clear that the class style .container is applied to the opening
div tag because class= “container” is added to the div tag, resulting in the code
<div class=”container”>. The opening and closing div tags surround all the other
elements in the body of the page. All of the other tags are indented to make the
code easier to follow and understand. Dreamweaver also adds a comment (in gray)
before the closing div tags to help you distinguish one closing div tag from another.
5. Switch to Design view, expand the Properties panel if you collapsed it, and click
in the Document window to deselect the div and its content. See Figure 4-6.
Search WWH ::




Custom Search