HTML dokumentumok szerkesztése emacs-ben

Ha a szerkesztendő file neve .html -re végződik, akkor az emacs automatikusan bekapcsolja ezt a módot. Ha a file még üres, akkor először megkérdezi a címet, majd automatikusan inicializálja a keretet, melyben feltételezi, hogy a lapon megjelenő cím is ugyanaz lesz (ez azért jó, mert ha a két cím nem is mindig azonos, azért általában közel áll egymáshoz, s így könnyű átszerkeszteni). Az így "elindított" lap közepére (a </BODY> elé írhatjuk a továbbiakat. A következő billentyűket lehet használni:

;;; NORMAL COMMANDS:
;;;
;;; C-c a         html-add-address
;;;   Open an address element. <ADDRESS>
;;;
;;; C-c b         html-add-blockquote 
;;;   Open block quote. <BLOCKQUOTE>
;;;
;;; C-c C-b       html-add-bold
;;;   Open a bold element. <B>
;;;
;;; C-c B         html-add-break
;;;   Add a line break.  <BR>
;;;
;;; C-c c         html-add-code
;;;   Open a 'code' (fixed-font) element. <CODE>
;;;
;;; C-c C-c       html-add-citation
;;;   Open citation element. <CITE>
;;;
;;; C-c C       html-add-center
;;;   Open center element. <CENTER>
;;;
;;; C-c d         html-add-description-list
;;;   Open a definition list.  <DL> ... <DD>
;;;   The initial entry is created for you.
;;;   To create subsequent entries, use 'C-c e'.
;;;
;;; C-c e         html-add-description-entry
;;;   Add a new definition entry in a definition list.  You are
;;;   assumed to be inside a definition list (specifically, at the end
;;;   of another definition entry). <DT>
;;;
;;; C-c C-e       html-add-emphasized
;;;   Open an emphasized element. <EM>
;;;
;;; C-c C-f       html-add-fixed
;;;   Open fixed element. <TT>
;;;
;;; C-c g         html-add-img
;;;   Add an IMG element (inlined image or graphic).  Note that the
;;;   IMG tag is currently an extension to HTML supported only by the
;;;   NCSA Mosaic browser (to my knowledge).  You will be prompted for
;;;   the URL of the image you wish to inline into the document. <IMG ...
;;;
;;; C-c h         html-add-header
;;;   Add a header.  You are prompted for size (1 is biggest, 2 is
;;;   next biggest; bottom limit is 6) and header contents. <H?>
;;;
;;; C-c C-h         html-add-horizontal
;;;   Add a horizontal line. <HR>
;;;
;;; C-c i         html-add-list-or-menu-item
;;;   Add a new list or menu item in a list or menu.  You are assumed
;;;   to be inside a list or menu (specifically, at the end of another
;;;   item). <LI>
;;;
;;; C-c C-i       html-add-italic
;;;   Open an italic element. <I>
;;;
;;; C-c C-k       html-add-keyboard
;;;   Open an keyboard element. <KBD>
;;;
;;; C-c l         html-add-normal-link
;;;   Add a link.  You will be prompted for the link (any string;
;;;   e.g., http://foo.bar/argh/blagh).  The cursor will be left where
;;;   you can type the text that will represent the link in the
;;;   document. <A HREF=...
;;;
;;; C-c C-l       html-add-listing
;;;   Open a listing element. <LISTING>
;;;
;;; C-c m         html-add-menu
;;;   Open a menu.  The initial item is created for you.  <MENU>
;;;   To create additional items, use 'C-c i'.
;;;
;;; C-c C-m       html-add-sample
;;;   Open a sample element. <SAMPLE>
;;;
;;; C-c n         html-add-numbered-list
;;;   Open numbered list. <OL>
;;;
;;; C-c p         html-add-paragraph-separator
;;;   Use this command at the end of each paragraph. <P>
;;; 
;;; C-c C-p       html-add-preformatted
;;;   Open preformatted element. <PRE>
;;;
;;; C-c r         html-add-normal-reference
;;;   Add a reference. <A NAME=...
;;;
;;; C-c s         html-add-list
;;;   Open a list.  The initial item is created for you.  <UL>
;;;   To create additional items, use 'C-c i'.
;;;
;;; C-c C-s       html-add-strong
;;;   Open strong element. <STRONG>
;;;
;;; C-c t         html-add-title
;;;   Add a title to the document.  You will be prompted for the
;;;   contents of the title.  If a title already exists at the
;;;   top of the document, the existing contents will be replaced. <TITLE>
;;;
;;; C-c C-v       html-add-variable
;;;   Open variable element. <VAR>
;;;
;;; C-c x         html-add-plaintext
;;;   Add plaintext.  The cursor will be positioned where you can type
;;;   plaintext (or insert another file, or whatever). <XMP>
;;;
;;; C-c z         html-preview-document
;;;   Fork off a Netscape process to preview the current document.
;;;   After you do this once, subsequent invocations of html-preview-document
;;;   will cause the same Netscape process to be used; this magic is
;;;   accomplished through Netscape's ability to be remote-controlled
;;;   using the -remote option. 
;;;
;;;
;;; COMMANDS THAT OPERATE ON THE CURRENT REGION:
;;;
;;; C-c C-r l    or   C-c L     html-add-normal-link-to-region
;;;   Add a link that will be represented by the current region.  You
;;;   will be prompted for the link (any string, as with
;;;   html-add-normal-link).
;;;
;;; C-c C-r r    or   C-c R     html-add-reference-to-region
;;;   Add a reference (a link that does not reference anything) that
;;;   will be represented by the current region.  You will be prompted
;;;   for the name of the link; if you just press RET, a numeric name
;;;   will be created for you.
;;;
;;; SPECIAL COMMANDS:
;;;
;;;   <
;;;   Insert <>é and put cursor inside it.
;;;   >
;;;   Insert </> and put cursor before >.
;;;
;;; C-c <, C-c >, C-c &é
;;;   Insert &lt &gt &amp respectively.
;;;
;;; C-q <, C-q >, C-q &é
;;;   Insert < > &.
;;;