您的位置:寻梦网首页编程乐园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.