Headings node revision
Terry Allen <terry@oclc.org>
Date: Wed, 22 Jun 94 11:34:45 EDT
Message-id: <199406221532.IAA26262@rock>
Reply-To: html-ig@oclc.org
Originator: html-ig@oclc.org
Sender: html-ig@oclc.org
Precedence: bulk
From: Terry Allen <terry@oclc.org>
To: Multiple recipients of list <html-ig@oclc.org>
Subject: Headings node revision
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
X-Comment: HTML Implementation Group
deleted language about how many levels of heading are needed
in hypertext vs print (incorrect and unneeded).
eliminated some flabby prose.
took out the "parser note" as this behavior is already required
by the DTD.
simplified "typical renderings" by eliminating instructions
on centering, etc.
removed language about what "typical values" means, as this
is stated elsewhere.
moved the remark about P after Hn.
<!DOCTYPE HTML PUBLIC "-//W3O//DTD WWW HTML 2.0//EN">
<HTML version=html-spec-19940613.tar>
<HEAD>
<TITLE>Heading elements in HTML</TITLE> <NEXTID
N="z36"></HEAD>
<BODY>
<H1><A NAME="z15">Headings</A></H1>
<P><A NAME="H1.index"></A>
<A NAME="H2.index"></A>
<A NAME="H3.index"></A>
<A NAME="H4.index"></A>
<A NAME="H5.index"></A>
<A NAME="H6.index"></A>
Six levels of heading are supported.
<P>A heading element implies all the font changes,
paragraph breaks before and after, and white space
necessary to render the heading. Thus it is not
required to follow a heading element with a paragraph mark,
for example.
<P>H1 is the highest level of heading, and is recommended for
the start of a hypertext node. It is suggested that the the text
of the first heading be suitable for a reader who is already
browsing in related information, in contrast to the <A
HREF="Elements/TITLE.html" NAME="z6">title</A> tag which should
identify the node in a wider context.
<P>The heading elements are
<PRE> <H1>, <H2>, <H3>, <H4>, <H5>, <H6>
</PRE>
<P>HTML does not require that headings be nested properly. Thus
it is possible, for example, to follow an H1 with
an H3. This practice is deprecated,
as it may produce strange results when generating
other representations from the HTML.
<H2>Example:</H2>
<PRE> <H1>This is a heading</H1>
Here is some text
<H2>Second level heading</H2>
Here is some more text.
</PRE>
<H2>Typical Rendering</H2>
<DL>
<DT>H1
<DD>Bold, very large font, considerable white space
preceding and following.
<DT>H2
<DD>Bold, large font, moderate amount of white space
preceding and following.
<DT>H3
<DD>Large font, contrasting with H2, proportionally less white space
preceding and following.
<DT>H4, H5, H6
<DD>At these levels it may be difficult to design rendering that
clearly differentiates headings from surrounding text and from
headings at other levels. Writers should beware that H4, H5, and
H6 may not produce expected or satisfactory results.
</DL>
</BODY>
</HTML>
--
Terry Allen (terry@ora.com)
Editor, Digital Media Group
O'Reilly & Associates, Inc.
Sebastopol, Calif., 95472