User Guide
100 Chapter 7 Using Web Development Languages
6 In the Insert special characters as box, select how characters should be
represented in the code when you insert them from the View > Extended and
Special Characters palette. Following is an example for each option:
• Character entities Insert the ampersand (&) as
&
• Decimal references Insert ampersand (&) as &
• Hexadecimal references Insert ampersand (&) as & (a RGB value)
Include closing </p> when
inserting paragraph tag
The Paragraph toolbutton on the Common QuickBar
inserts <p></p> instead of just <p>.
Note that even if you clear this option, by default, Tag
Completion inserts
</p> after you type <p>. To
disable this too, open the Options > Settings >
Editor > Tag Completion pane and delete the P tag
from the list.
Insert numeric values
surrounded by quotes
(Tag Inspector)
When an attribute has a numeric value, Tag
Inspector inserts it surrounded by quotes, as tag
editors do. For example,
width="20" height="20",
not width=20 height=20.
Option Result when selected
Minimize empty tags (for
example <br/>)
If the current document is set or recognized to be an
XHTML document, the toolbuttons on the QuickBar
for empty tags insert minimized empty tags, for
example
<br/> and <hr/>.
Enforce required attribute
validation (tag editors)
The tag editor OK toolbutton is disabled until a value
is entered for every required attribute.
To require an attribute in a tag editor:
1 In HomeSite+ for Dreamweaver MX open the
VTML file for the tag editor, in the <installation
directory>\Extensions\TagDefs folder, in the folder
for the applicable markup language.
2 Locate the
control tag for the field to require.
(Fields that are required in the W3C specification
are visually marked with an asterisk).
3 Add the attribute
REQUIRED="YES" to the tag.
4 Save the file.
5 Press Ctrl+Alt+Shift+C to clear the VTML cache.
For more information, see ../VTML_Reference/
control.html
control/a in the VTML Reference.
Use <em> tag in place of
<i>
The Italic toolbutton on the Font QuickBar inserts
<em></em> instead of <i></i>.
Use <strong> tag in place
of <b>
The Bold toolbutton on the Font QuickBar inserts
<strong></strong> instead of <b></b>.










