User Guide

General editing functions 389
General editing functions
You handle general editing functions in the Document window. These functions insert text,
HTML, and objects; apply, change, and remove font and character markup; modify tags and
attributes; and more.
dom.applyCharacterMarkup()
Availability
Dreamweaver 3.
Description
Applies the specified type of character markup to the selection. If the selection is an insertion
point, it applies the specified character markup to any subsequently typed text.
Arguments
tagName
The tagName argument is the tag name that is associated with the character markup. It must be
one of the following strings:
"b", "cite", "code", "dfn", "em", "i", "kbd", "samp", "s",
"strong", "tt", "u", or "var".
Returns
Nothing.
dom.applyFontMarkup()
Availability
Dreamweaver 3.
Description
Applies the FONT tag and the specified attribute and value to the current selection.
Arguments
attribute
, value
The attribute argument must be "face", "size", or "color".
The value argument is the value to be assigned to the attribute; for example, "Arial,
Helvetica, sans-serif", "5", or "#FF0000".
Returns
Nothing.
000_DW_API_Print.book Page 389 Wednesday, August 20, 2003 9:14 AM