Specifications

466
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
tagName
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
attribute must be "face", "size", or "color".
value is the value that is to be assigned to the attribute; for example, "Arial, Helvetica,
sans-serif", "5", or "#FF0000".
Returns
Nothing.
dom.deleteSelection()
Availability
Dreamweaver 3
Description
Deletes the selection in the document.
Arguments
None.