Re: HTML heading hierarchy for XHTML

P. T. Rourke wrote:

> <div name="sec1"><h1>First Order Heading</h1>
> <p></p>
> <div name="sec1.1"><h2>Second Order Heading</h2>
> <p></p>
> </div>
> </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>
    <p></p>

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

  </div>

/Jelks

Received on Tuesday, 1 February 2000 11:29:21 UTC