bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: html structure revisited


From: Per Bothner
Subject: Re: html structure revisited
Date: Sat, 8 Aug 2020 09:05:52 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 8/8/20 8:55 AM, Per Bothner wrote:

     <section class="section" id="section-42">
       <div class="header">Next/Previous etc links </div>
       <div class="node">
         <h3 class="section" id="character42-1">This is section 4.2</h3>
         <p>text for 4.2</p>
         </div>
     </section>

Note the id="character42-1" should go on the <div class="node"> if we use this 
layout:

    <section class="section" id="section-42">
      <div class="header">Next/Previous etc links </div>
      <div class="node" id="character42-1">
        <h3 class="section">This is section 4.2</h3>
        <p>text for 4.2</p>
        </div>
    </section>

Putting it on the h3 was left over from an earlier version using <header>:

    <section class="section" id="section-42">
      <!--Alternative layout using <header> -->
      <div class="node">
        <header>
          <div class="header">Next/Previous etc links </div>
          <h3 class="section" id="character42-1">This is section 4.2</h3>
        </header>
        <p>text for 4.2</p>
        </div>
    </section>

However, I'm leaning towards *not* using <header>, at least until we
see a use for it.
--
        --Per Bothner
per@bothner.com   http://per.bothner.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]