Выбрать главу

Table 8-6 lists the key bindings for HTML helper mode. There are key bindings for advanced HTML features such as forms as well as for some of the HTML 3.0 features. Some tags would normally appear on different lines (for example, in the case of a list); in this table, they are shown on one line.

Table 8-6. HTML helper mode commands

Keystrokes Command name Action
C-u universal-argument When used before any other tag command, insert tags around a region.
M-Tab tempo-complete-tag Complete the current tag.
C-c C-z v HTML → Load This Buffer in Browser browse-url-of-file Display this file in the default browser.
C-c C-z u HTML → Browse URL at Point browse-url-default-browser Load the URL at point in default browser.
C-c M-h 1 HTML → Insert Headers → Header 1 tempo-template-html-header-1 Insert <h1></h1>.
C-c M-h 2 HTML → Insert Headers → Header 2 tempo-template-html-header-2 Insert <h2></h2>.
C-c M-h 3 HTML → Insert Headers → Header 3 tempo-template-html-header-3 Insert <h3></h3>.
C-c M-h 4 HTML → Insert Headers → Header 4 tempo-template-html-header-4 Insert <h4></h4>.
C-c M-h 5 HTML → Insert Headers → Header 5 tempo-template-html-header-5 Insert <h5></h5>.
C-c M-h 6 HTML → Insert Headers → Header 6 tempo-template-html-header-6 Insert <h6></h6>.
M-Enter HTML → Insert Text Elements → Paragraph tempo-template-html-paragraph Insert <p></p>.
C-c C-a l HTML → Insert Hyperlinks → Hyperlink tempo-template-html-hyperlink Insert <a href=""></a>.
C-c C-a n HTML → Insert Hyperlinks → Target tempo-template-html-link-target Insert <a name=""></a>.
C-c Enter HTML → Insert Text Elements → Line Break tempo-template-html-line-break Insert a literal line break, <br>.
C-c = HTML → Insert Text Elements → Horizontal Line tempo-template-html-horizontal-line Insert a horizontal rule, <hr>.
C-c C-z t HTML → Insert Timestamp Delimiter html-helper-insert-timestamp-delimiter-at-point Insert timestamp delimiters.
C-c C-h t HTML → Insert Structural Elements → Title tempo-template-html-title Insert <title></title>.
C-c Tab a HTML → Insert Inlined Images → Image tempo-template-html-image Insert <img src="">.