FormatBlock

HTML (DHTML)

FormatBlock Command

Internet Development Index

Sets the current block format tag.

Scripting Information

Command FormatBlock
User interface None. Set bUserInterface to false. 
execCommand vValue Required. String that specifies a valid block format tag.
Applies toexecCommandqueryCommandEnabledqueryCommandIndetermqueryCommandStatequeryCommandSupportedqueryCommandValue.

Remarks

The available block formatting strings may change in subsequent releases of the MSHTML component. Call IOleCommandTarget::Exec with the IDM_GETBLOCKFMTS Command ID to obtain the current list of available block formatting commands that can be passed with the FormatBlock Command ID.

Standards Information

There is no public standard that applies to this command.

Minimum Availability

Internet Explorer 4.0 and later.