FontName

HTML (DHTML)

FontName Command

Internet Development Index

Sets or retrieves the font for the current selection.

Scripting Information

Command FontName
User interface None. Set bUserInterface to false. 
execCommand vValue Required. String that specifies a font name or font list, as described by the font attribute.
Applies toexecCommandqueryCommandEnabledqueryCommandIndetermqueryCommandStatequeryCommandSupportedqueryCommandValue.

Remarks

The HTML generated by this command may vary depending on the version of Microsoft® Internet Explorer.

Standards Information

There is no public standard that applies to this command.

Minimum Availability

Internet Explorer 4.0 and later.