Cover | Table of Contents | Colophon
<p> tags whenever you press the Enter key or
Return key.
|
Category
|
Inserts these objects
|
|---|
|
Menu option
|
Windows
|
Macintosh |
|---|
|
Window
|
Menu access
|
Windows
|
Macintosh
|
|---|---|---|---|
|
Objects panel
|
Window → Objects
|
Ctrl+F2
|
Cmd+F2
|
|
Property inspector
|
Window → Properties
|
Ctrl+F3
|
Cmd+F3
|
|
Launcher bar
|
Window → Launcher
|
Alt-W, U
|
N/A
|
|
Site Files view
|
Window → Site Files or
Site → Site Files
|
<head> objects including
<title>, <link>,
<base>, and <meta>
tags
<head> block. Dreamweaver 4 provides easy
access to the
<title>
,
description, and keywords
elements (which provide information for search engines), and the
<meta>
,
<base>
,
and
<link>
elements (which provide instructions to client and server software
that interacts with your document).
<head> tags in Code view only. As of DW4,
head content can be accessed using the Head Content bar, shown in
Figure 2-1, in Design view or Code and Design view.
The Head Content bar is opened using View → Head Content,
Ctrl+Shift+W (Windows), or Cmd+Shift+W (Macintosh). In Code view, the
Head Content bar isn't available, but you can still hand-edit
the <head> tags.
<head> tags and their attributes are
discussed in the following sections. Comment tags are discussed later
in this chapter under Section 2.7.
<title>
element's text is displayed in a web browser's title bar
and is used as the
default
filename when saving the document to disk. Search engines also use
the title to index your page.
<title> element can be set in the Page
Properties dialog box (Modify → Page Properties) or in
the Property inspector (accessed via the Head Content bar's
Title icon).
<head> block. Dreamweaver 4 provides easy
access to the
<title>
,
description, and keywords
elements (which provide information for search engines), and the
<meta>
,
<base>
,
and
<link>
elements (which provide instructions to client and server software
that interacts with your document).
<head> tags in Code view only. As of DW4,
head content can be accessed using the Head Content bar, shown in
Figure 2-1, in Design view or Code and Design view.
The Head Content bar is opened using View → Head Content,
Ctrl+Shift+W (Windows), or Cmd+Shift+W (Macintosh). In Code view, the
Head Content bar isn't available, but you can still hand-edit
the <head> tags.
<head> tags and their attributes are
discussed in the following sections. Comment tags are discussed later
in this chapter under Section 2.7.
<title>
element's text is displayed in a web browser's title bar
and is used as the
default
filename when saving the document to disk. Search engines also use
the title to index your page.
<title> element can be set in the Page
Properties dialog box (Modify → Page Properties) or in
the Property inspector (accessed via the Head Content bar's
Title icon).
<meta>
tags—content,
keywords, description
<img> tag's options. Figure 2-9 shows the Property inspector when an image is
selected. Double-clicking an image in the Design view opens the
Property inspector and prompts you to reselect an image file for the
src attribute of the
<img> tag.
|
Option
|
Description
|
|---|---|
|
Name
|
A name for the image, which is
required to reference the image in scripts or in Dreamweaver
behaviors.
|
|
W (width)
|
The width of the image in pixels, which defaults to the image's
original width, based on 72 pixels per inch (ppi) on a Macintosh and
96 ppi on Windows. An image formatted for a Windows machine appears
smaller on a Macintosh.
|
|
HTML
|
Menu
access
|
Windows
|
Macintosh
|
|---|---|---|---|
<blockquote>
|
Text → Indent
|
Ctrl+Alt+]
|
Cmd+Opt+]
|
|
Removes
<blockquote>
|
Text → Outdent
|
Ctrl+Alt+[
|
Cmd+Opt+[
|
<div>
|
Text → Paragraph Format → None
|
<body>
tag, which works
with 3.0 browsers but does not conform to the latest HTML standards.
Chapter 10 explains how to set similar properties
using CSS, when supporting 4.0+ browsers.
|
Control
|
Description
|
|---|---|
|
Title
|
The title for the document—used in the browser window's
title bar and used as the default name when bookmarking the page.
|
|
Background Image
|
If the background image is smaller than the page, it is tiled by
default; otherwise it is cropped. It can also be controlled by CSS.
|
|
Background
|
Sets the document background color.
|
|
Text
|
Sets the default text color (excluding links).
|
|
Links
|
Sets the default color of links.
|
|
Visited Links
|
Sets the default color of visited links.
|
|
Active Links |
<!-- This is a comment -->
<!--
and trailing --> characters, which
delimit the comment. Multiline comments are allowed and take the
form:
<!-- This is another comment that takes up multiple lines.
It keeps going and going and going. --><!-- this is a <!-- nested --> comment -->
--> character combination will be displayed to
the user.
<table>
,
<tr>
,
and
<td>
).
Thankfully, Dreamweaver allows you to create tables visually in
either mode, insulating you from the underlying complexity of the
HTML. (You can switch between table modes using the
View → Table View menu options or the
View buttons at
the bottom of the Objects panel. Don't confuse the table
view modes with the unrelated Code and
Design views discussed earlier.) If you're not sure whether to
use tables, layers, or some other formatting element, see the preface.
<table>
,
<tr>
,
and
<td>
).
Thankfully, Dreamweaver allows you to create tables visually in
either mode, insulating you from the underlying complexity of the
HTML. (You can switch between table modes using the
View → Table View menu options or the
View buttons at
the bottom of the Objects panel. Don't confuse the table
view modes with the unrelated Code and
Design views discussed earlier.) If you're not sure whether to
use tables, layers, or some other formatting element, see the preface.
<table> tag from the Tag
Selector in the status bar.
|
Option
|
Description
|
|---|---|
|
Data File
|
Selects any file from the local hard drive or network.
|
|
Delimiter
|
Identifies the column delimiter in the file to be imported: Tab (the
default), Comma, Semicolon, Colon, or Other.
|
|
Table Width
|
Sets the width of the overall table. The Fit to Data option adjusts
the size of the table to the information being imported; the Set
option sets the width to a fixed pixel size or as a percentage of the
browser window.
|
|
Cell Padding
|
Sets the margin, in pixels, between the border of the cell and the
cell contents.
|
|
Cell Spacing
|
Sets the amount of space, in pixels, between adjacent cells.
|
|
Format Top Row
|
Specifies formatting for the top row of the table (i.e., column
headings). The options are No Formatting, Bold, Italic, or Bold
Italic.
|
<frame>
tags within a
<frameset>
tag, but as usual, Dreamweaver's visual tools handle the
underlying HTML for you. (Dreamweaver does not implement the
<iframe>
tag in any of its frame configurations. The
<iframe> tag is not supported in IE browsers
prior to IE4 and is not supported in NN browsers prior to NN6.)
|
Menu option
|
Layout |
|---|
<frame>
tags within a
<frameset>
tag, but as usual, Dreamweaver's visual tools handle the
underlying HTML for you. (Dreamweaver does not implement the
<iframe>
tag in any of its frame configurations. The
<iframe> tag is not supported in IE browsers
prior to IE4 and is not supported in NN browsers prior to NN6.)