Sets or retrieves generated content to insert before or after an element.
HRESULT value = object.put_content( v);HRESULT value = object.get_content(* p);
a space-delimited list, including one or more of the values from Possible Values.
Text content, in either double quotation marks (") or single quotation marks (').
Value Meaning sCounter
A counter identifier, optionally followed by listStyle.
Optional. Any of the range of values from the IHTMLRuleStyle::listStyleType property.
[ string | counter ]+
|Applies To||All elements|
- CSS 2.1, Section 12.2
Strings can written with either double quotation marks (") or
with single quotation marks ('). Double quotation marks cannot occur
inside other double quotation marks, unless they are preceded by
a backslash (\) escape character. For example, the string
"\"" is interpreted as containing
one double quotation character.
It is possible to break strings over several lines, for esthetic or
other reasons, by use of the backslash as a continuation character;
however, the newline character itself is ignored.
Authors may include line breaks in the generated content
by writing the
\A escape sequence in any
of the strings after the
property. The generated line break is displayed in accordance
with the value of the
The backslash is also used to generate escape characters that cannot be represented in the current character encoding. In this case, the backslash is followed by at most six hexadecimal digits (from the range 0–9 and A–F) to indicate the Unicode character with that number.
This property requires Windows Internet Explorer to be in IE8 Standards mode rendering.
Minimum supported client
|Windows XP with SP2 [desktop apps only]|
Minimum supported server
|Windows Server 2003 [desktop apps only]|