Re: HTML heading hierarchy for XHTML

P. T. Rourke wrote:

> <div name="sec1"><h1>First Order Heading</h1>="sec1.1"><h2>Second Order Heading</h2>> </div>
>
> (I believe that a div element can contain another div element.)

Yes.  But there is no "name" attribute for div.  You probably meant "id":

  <div id="sec1">
    <h1>First Order Heading</h1>    <div id="sec1.1">
    <h2>Second Order Heading</h2>
  </div>

/Jelks

Received on Friday, 24 March 2000 13:13:54 UTC