Udostępnij za pośrednictwem


HTML Designer Shortcut Keys, Brief Scheme

Use the following shortcut key combinations while editing in the HTML Designer. Other key combinations that can be used in the HTML Designer include Text Navigation Shortcut Keys, Brief Scheme, Text Selection Shortcut Keys, Brief Scheme, and Text Manipulation Shortcut Keys, Brief Scheme.

Command

Shortcut keys

Description

File.ViewinBrowser

CTRL + SHIFT + W

Displays the file selected in Solution Explorer or the file that has focus in the editor in a Web browser.

Format.Bold

CTRL + B

Toggles the selected text between bold and normal. Available only in Design view of the HTML Designer.

Format.ConvertToHyperlink

CTRL + L

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

Format.InsertBookmark

CTRL + SHIFT + L

Displays the Bookmark dialog box. Available only in Design view of the HTML Designer.

Format.Italic

CTRL + I

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

Format.Underline

CTRL + U

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

Layout.InsertColumntotheLeft

CTRL + ALT + LEFT ARROW

Adds one column to the left of the current column in the table. Available only in Design view of the HTML Designer.

Layout.InsertColumntotheRight

CTRL + ALT + RIGHT ARROW

Adds one column to the right of the current column in the table. Available only in Design view of the HTML Designer.

Layout.InsertRowAbove

CTRL + ALT + UP ARROW

Adds one row above the current row in the table. Available only in Design view of the HTML Designer.

Layout.InsertRowBelow

CTRL + ALT + DOWN ARROW

Adds one row below the current row in the table. Available only in Design view of the HTML Designer.

Project.AddContentPage

CTRL + M, CTRL + C

Adds a new *.aspx file to the Web site and opens the file in the HTML Designer. Available only in Design view of the HTML Designer.

View.AutoCloseTagOverride

CTRL + SHIFT + (.)

Available only in Source View of the HTML Designer.

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 of the HTML Designer.

View.EditMaster

CTRL + M, CTRL + M

Opens the *.master file in Source view. Available only in Design view of the HTML Designer.

View.NextView

CTRL + PAGE DOWN

Switches between Design view, Source view, and Server Code view for the current document. Available in all views of the HTML Designer.

View.NonVisualControls

CTRL + ALT + Q

Displays symbols for non-graphical elements such as div, span, form, and script elements. Available only in Design view of the HTML Designer.

View.ShowSmartTag

SHIFT + ALT + F10

Displays a smart tag menu of common commands for Web server controls. Available in Design View of the HTML Designer.

View.ViewDesigner

SHIFT + F7

Switches to Design view for the current document. Available only in Source view of the HTML Designer.

View.ViewMarkup

SHIFT + F7

Switches to Source view for the current document. Available only in Design view of the HTML Designer.

View.VisibleBorders

CTRL + Q

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

Window.PreviousTab

CTRL + PAGE UP

Switches between Design view, Source view, and Server Code view for the current document. Available in all views of the HTML Designer.

See Also

Reference

Brief Default Shortcut Keys