tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

032-isvalid.xhtml (1049B)


      1 <html xmlns="http://www.w3.org/1999/xhtml">
      2 <head>
      3  <title>Definition List: &lt;dl&gt; &lt;dt&gt; &lt;dd&gt;</title>
      4 </head>
      5 <body>
      6  <!-- is block -->
      7  <dl class="class" id="id" xml:lang="en">
      8    <dt class="class" id="id2" xml:lang="en">text</dt>
      9    <dd class="class" id="id3" xml:lang="en">text</dd>
     10  </dl>
     11 
     12  <!-- can be empty -->
     13  <dl></dl>
     14  <dl>
     15    <dt></dt>
     16    <dd></dd>
     17  </dl>
     18 
     19  <!-- multiple groups, but always (dt+,dd+) -->
     20  <dl>
     21    <dt>text</dt>
     22      <dd>more text</dd>
     23    <dt>text</dt>
     24      <dd>more text</dd>
     25      <dd>more text</dd>
     26    <dt>text</dt>
     27    <dt>text</dt>
     28    <dt>text</dt>
     29      <dd>more text</dd>
     30  </dl>
     31 
     32  <!-- dd can contain structured inline, dt strictly inline -->
     33  <dl>
     34    <dt>some <em>text</em></dt>
     35 <dd>more <pre>text</pre></dd>
     36  </dl>
     37 
     38  <!-- dd can contain blocks -->
     39  <dl>
     40    <dt>some <em>text</em></dt>
     41 <dd>
     42      <p>more</p>
     43      <p>text</p>
     44    </dd>
     45  </dl>
     46 
     47  <!-- can contain interactive -->
     48  <dl>
     49    <dt>some <a>text</a></dt>
     50 <dd>more <a>text</a></dd>
     51  </dl>
     52 </body>
     53 </html>