Quick Question on <Hn> and <HR>

Paul (Paul.Wain@brunel.ac.uk)
Thu, 28 Apr 1994 11:28:52 +0100 (BST)


Im sitting here writing up a spec into HTML (by hand of course :) and
one thought just struck me, and looking at the DTD I cant decide if I am
right or wrong.

Is the following valid HTML?

A title
some text

That is, can I justifiably use the <HR> tag inside a <H#> tag? (#=1..6)
Im thinking not which is a shame because the specification say that
there needs to be a complete clear line between a </H#> tag and the next
line of whatever. This means that you cant get the <HR> right up close
under the text which is sometimes quite desirable (Like in this case for

Any ideas? Am I wrong in thinking it is invalid?


| Computer Centre, Brunel University, Uxbridge, Middx., UB8 3PH, ENGLAND. |
|___VOICE:_+44_895_274000_extn_2391_______EMAIL: Paul.Wain@brunel.ac.uk __|
| http://http2.brunel.ac.uk:8080/paul/ |