Still More Tags for Lists and Menus
Building HTML docs with LIST tags
|| The Ordered (numbered) List Tag <ol> || The List Item Tag <li> ||
|| The Unordered (bulleted) List Tag <ul> || The Menu List Tag <menu> ||
|| The Glossary or Definition List Tag <dl> ||
|| The Definition Term or Title Tag <dt> || The Definition Datum or Description Tag <dd> ||

  • * Definition List Tags: <dl>, <dt>; and <dd>

  • This blob of HTML tagged text:
     <dl>
      <dt>There's a list tag... 
        <dd>...and it's called <b><dl></b>. 
     <dt>There are <i>two</i> item tags:
      <dd>
       <ul>
       <li><b><dt></b> ("title"); goes above and flushleft. 
       <li><b><dd></b> ("description"); goes underneath and is indented. 
       <li> BOTH <b>dt</b> and <b>dd</b> are singletons.
       </ul>
       
     <dt>Descriptive lists are handy. 
      <dd>Since they're two-dimensional, you can use them for
         menus (link followed by blurb) and even in place of 
         simple tables (with left and right columns). 
     </dl>
    
    gives your browser the following information to display:
    There's a list tag...
    ...and it's called <dl>.
    There are two item tags:
    • <dt> ("title"); goes above and flushleft.
    • <dd> ("description"); goes underneath and is indented.
    • BOTH <dt> and <dd> are singletons.
    Descriptive lists are handy.
    Since they're two-dimensional, you can use them for menus (link followed by blurb) and even in place of simple tables (with left and right columns).

    Hyperlinks: Table of Contents


    Questions? E-mail your Instructor - Dr. Charles Rubenstein
    Tutorial Copyright (c) 1996-2006 C.P.Rubenstein