Udostępnij za pośrednictwem


HTML Designer Shortcut Keys, Visual C++ 6.0 Default Shortcut Option

Use the following shortcut key combinations only while editing in the HTML Designer. Most keys combinations are available only in either HTML view or Design view.

Note

The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

Note

To see a list of shortcut keys that have changed or are no longer supported in Visual C++ .NET, see Obsolete Visual C++ 6.0 Key Commands and Changes to Visual C++ 6.0 Key Commands.

Command name

Shortcut keys

Description

Edit.ListMembers

CTRL + J

Lists members of current class for statement completion when editing code. Available only in HTML view.

Edit.ParameterInfo

CTRL + SHIFT + SPACE

Displays a tool tip that contains information for the current parameter, based on the current language. Available only in HTML view.

Edit.ViewBottom

CTRL + PAGE DOWN

Moves to the bottom of the current document. Available only in HTML view.

Edit.ViewTop

CTRL + PAGE UP

Moves to the top of the current window. Available only in HTML view.

Format.Bold

CTRL + B

Toggles the selected text between bold and normal. Available only in Design View.

Format.DecreaseIndent

CTRL + SHIFT + T

Decreases the selected paragraph by one indent unit. Available only in Design view.

Format.IncreaseIndent

CTRL + T

Indents the selected paragraph by one indent unit. Available only in Design view.

Format.Italic

CTRL + I

Toggles the selected text between italic and normal. Available only in Design view.

Format.LockElement

CTRL + SHIFT + K

Prevents an absolutely positioned element from being inadvertently moved. Available only in Design view.

Format.ShowGrid

CTRL + G

Toggles show grid. Only available in Design view.

Format.SnaptoGrid

CTRL + SHIFT + G

Specifies that elements are aligned using an invisible grid. You can set grid spacing on the HTML Designer Display page of the Options dialog box, and the grid will be changed the next time you open a document. Available only in Design view.

Format.Underline

CTRL + U

Toggles the selected text between underlined and normal. Available only in Design view.

Insert.Bookmark

CTRL + SHIFT + L

Inserts a bookmark at the selected location. Available only in Design view.

Insert.DIV

CTRL + J

Inserts <div></div> in the current HTML document. Available only in Design view.

Insert.Hyperlink

CTRL + L

When text is selected, displays the Hyperlink dialog box. Available only in Design view.

Insert.Image

CTRL + SHIFT + W

Displays the Insert Image dialog box. Available only available in Design view.

View.Details

CTRL + SHIFT + Q

Displays signal icons for HTML elements that do not have a visual representation, such as comments, scripts, and anchors for absolutely positioned elements. Available only in Design view.

View.NextView

CTRL + PAGE DOWN

HTML Editor: Toggles between Design view and HTML view.

XML Editor: Toggles between Data view and Schema view.

View.VisibleBorders

CTRL + Q

Displays a 1-pixel border around HTML elements that support a BORDER attribute and has it set to zero, such as tables, table cells, and divisions. Available only in Design view.

See Also

Tasks

How to: Work with Keyboard Shortcuts

Concepts

Pre-defined Keyboard Shortcuts

Other Resources

Visual C++ 6.0 Default Shortcut Keys