CreateLink Command | Internet Development Index |
Inserts a hyperlink on the current selection, or displays a dialog box enabling the user to specify a URL to insert as a hyperlink on the current selection.
Scripting Information
Command CreateLink User interface Optional. This command displays a dialogue box if the bUserInterface argument of execCommand is set to true or omitted. It does not display a dialogue box if the argument is set to false or null and the vValue parameter is present (even if it's null). execCommand vValue Optional. String that specifies a URL. Applies to execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandSupported, queryCommandValue.
Remarks
vValue is only valid if the bUserInterface argument of execCommand is set to false or null. Providing an empty string will create the anchor tag but will leave the name attribute blank.
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.