Re: Quick Question on <Hn> and <HR>

lilley@v5.cgu.mcc.ac.uk (Chris Lilley, Computer Graphics Unit)
Errors-To: listmaster@www0.cern.ch
Date: Fri, 29 Apr 1994 11:34:15 +0200
Errors-To: listmaster@www0.cern.ch
Message-id: <94042910305906@cguv5.cgu.mcc.ac.uk>
Errors-To: listmaster@www0.cern.ch
Reply-To: lilley@v5.cgu.mcc.ac.uk
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: lilley@v5.cgu.mcc.ac.uk (Chris Lilley, Computer Graphics Unit)
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: Re: Quick Question on <Hn> and <HR>
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Paul.Wain@brunel.ac.uk writes:

[ about putting an HR 1) inside a header 2) outside it]

> Question: Which looks nicer? To me the 1st case.
> Question: Which is ``correct''? The 2nd.

Correct HTML/HTML+, yes. From the point of view of the logical structure of the 
document - which the HTML claims to represent - the rule is clearly a top line, 
a part of the title; it is not a piece of body matter in this instance. So I 
would argue that the first case is correct; it is just that HTML does not 
support it yet.

>From the point of view of clarity of communication, an HR in the place Paul 
suggests makes the document easier to read - it conforms with established 
convention. Look at chapter headings in any software manual, for example ;-)

And I remember that the spec says an Hn element includes all the space needed to 
set it off from the body text. So anything else which is part of the header 
should be included in the Hn - an image for instance. In that way, the html 
reflects the document structure that the designer intended, which I thought was 
the whole point.

Now that HTML is being re-DTD'ed based on current practice - an excellent idea - 
it would be timely to make this change too.

Speaking with my other hat on,
                 |
--               |
Chris Lilley     V
+-----------------------------------------------------------------------------+
| Technical Author, ITTI Computer Graphics and Visualisation Training Project |
+-----------------------------------------------------------------------------+
| Computer Graphics Unit,        |  Internet: C.C.Lilley@mcc.ac.uk            |
| Manchester Computing Centre,   |     Janet: C.C.Lilley@uk.ac.mcc            |
| Oxford Road,                   |     Voice: +44 61 275 6045                 |
| Manchester, UK.  M13 9PL       |       Fax: +44 61 275 6040                 |
| X400:  /I=c/S=lilley/O=manchester-computing-centre/PRMD=UK.AC/ADMD= /C=GB/  |
|  <A HREF="http://info.mcc.ac.uk/CGU/staff/lilley/lilley.html">my page</A>   | 
+-----------------------------------------------------------------------------+