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

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 HTMLLoad This Buffer in Browser browse-url-of-file Display this file in the default browser.
C-c C-z u HTMLBrowse URL at Point browse-url-default-browser Load the URL at point in default browser.
C-c M-h 1 HTMLInsert HeadersHeader 1 tempo-template-html-header-1 Insert <h1></h1>.
C-c M-h 2 HTMLInsert HeadersHeader 2 tempo-template-html-header-2 Insert <h2></h2>.
C-c M-h 3 HTMLInsert HeadersHeader 3 tempo-template-html-header-3 Insert <h3></h3>.
C-c M-h 4 HTMLInsert HeadersHeader 4 tempo-template-html-header-4 Insert <h4></h4>.
C-c M-h 5 HTMLInsert HeadersHeader 5 tempo-template-html-header-5 Insert <h5></h5>.
C-c M-h 6 HTMLInsert HeadersHeader 6 tempo-template-html-header-6 Insert <h6></h6>.
M-Enter HTMLInsert Text ElementsParagraph tempo-template-html-paragraph Insert <p></p>.
C-c C-a l HTMLInsert HyperlinksHyperlink tempo-template-html-hyperlink Insert <a href=""></a>.
C-c C-a n HTMLInsert HyperlinksTarget tempo-template-html-link-target Insert <a name=""></a>.
C-c Enter HTMLInsert Text ElementsLine Break tempo-template-html-line-break Insert a literal line break, <br>.
C-c = HTMLInsert Text ElementsHorizontal Line tempo-template-html-horizontal-line Insert a horizontal rule, <hr>.
C-c C-z t HTMLInsert Timestamp Delimiter html-helper-insert-timestamp-delimiter-at-point Insert timestamp delimiters.
C-c C-h t HTMLInsert Structural ElementsTitle tempo-template-html-title Insert <title></title>.
C-c Tab a HTMLInsert Inlined ImagesImage tempo-template-html-image Insert <img src="">.