W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

Re: HTML heading hierarchy for XHTML

From: Jelks Cabaniss <jelks@jelks.nu>
Date: Fri, 24 Mar 2000 11:45:41 -0600
To: <html-tidy@w3c.org>
Message-ID: <OF9782756D.66C8C2FA-ON86256878.005A9B3D@rfdinc.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:43 GMT