HTML Kit site requirements.

HTML editor / FAQ
HomeHTML-Kit downloadsAdd-ins that update and extend HTML-Kit's capabilitiesSoftware and authoring support channelsRegister -- download add-ons and support HTML-KitOnline tools for HTML-Kit users
  Translations of this page: in het Nederlands

FAQ

 Home > Support > Frequently Asked Questions > Keyboard > Is there a way...
 
 

Is there a way to redefine the > character to add the closing/end tag?

The following steps can be used to redefine the > character ("Shift+." key) to add the closing tag (also called the end tag). However, it is strongly recommened that one of the default shortcuts (such as "Alt+End") is used whenever possible, rather than redefining the > character.
 
HTML-Kit provides several keyboard shortcuts for editing tags. The TagsReminder can be used to complete tags and reuse attribute values.
 
To redefine the > character to insert ></tag>:
  • Select "Tools | Customize | Customize Keyboard Shortcuts" from the main menu.

     
  • Click the "Add" button.

     
  • Press a key (such as "Shift+.") or pick a key from the drop-down menu under the Shortcut Key field.

     
  • Click the "Insert Text" radio button, and Enter > for the text. Click the "Add" button.

     
  • Click the "Menu Command" radio button, and pick MTagCloseLast from the drop-down list.

     
  • Click the "OK" button to close the "Shortcut Key dialog".

     
  • Click the "OK" button to close the "Keyboard Shortcuts" customization dialog.
     
Now pressing "Shift+." (or other custom keyboard shortcut) after a tag such as <tag will insert > followed by </tag> to end up with <tag></tag>