# html(9)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## SYNOPSIS

html - HyperText Markup Language File.

## FILES

hkhtml.emf - HyperText Markup Language file hook definition

## EXTENSIONS

.htm, .html - HyperText Markup Language File.
.htp - [Special] Super HTML Preprocessor file.
.hts - [Special] Super HTML file.

## MAGIC STRINGS

<html>

MicroEmacs 2009 recognizes the magic string on any of the first 4 lines of the file. The HTML files may be extension-less and are still recognized.

## DESCRIPTION

The html file type template provides simple hilighting of HTML files. Additionally, MicroEmacs 2009 is capable of rendering simple HTML files (without graphic content) into the current buffer and follow the hyper text links. The JASSPA HTML documentation may be viewed in this way.

General Editing

HTML files may be edited or processed and rendered into the buffer. The Use Author Mode option in the buffer-setup(3) dialog determines the edit mode on loading a HTML file; when set to '`N`' the page is rendered, '`Y`' and the raw HTML file is presented. The default state is '`Y`'.

Hilighting

The hilighting features allow commands, variables, logical, preprocessor definitions, comments, strings and characters of the language to be differentiated and rendered in different colors.

Short Cuts

The short cut keys used within the buffer are:-

C-c C-h - Help information.
C-c C-a - Toggle the HTML author status.
html-spell-check-word - spell check the current word.

Rendered Mode

In the non-author mode, the HTML file is extracted and rendered to the buffer. The hypertext links may be followed by selecting them with the mouse or using the `<RETURN>` key.

The rendered mode is typically used to check HTML text after it has been authored from the editor. The rendered mode only caters for regular HTML 2.0 text. It does not handle tables or frames etc. (use a browser).

Toggling between rendered and authoring mode, then the buffer should be killed as the translation is only performed when the file is read.

The non-author mode can be permanently enabled by setting the Use Author Mode option in the buffer-setup(3) dialog to '`N`'. When set to N any HTML files loaded are automatically processed, and rendered according to their HTML content.

## NOTES

The print driver may be used to generate HTML from the contents of the buffer. Select the printer destination as buffer, and HTML as the driver. The buffer being printed is converted to HTML and dumped in the print buffer.

.hts and .htp are computer generated extended HTML files used in the MicroEmacs 2009 documentation system.

## BUGS

None reported.

## SEE ALSO

print-buffer(2), buffer-setup(3).

Supported File Types

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>