HTML
  Home arrow HTML arrow Page 6 - Frames and Lists in HTML
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

Frames and Lists in HTML
By: James Payne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 5
    2008-01-23

    Table of Contents:
  • Frames and Lists in HTML
  • Setting a Frame in the Horizontal Position
  • Displaying Frame with the Iframe
  • Lists in HTML
  • The Unordered List
  • Working with Nested Lists

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Frames and Lists in HTML - Working with Nested Lists


    (Page 6 of 6 )

    It is possible to nest a list within a list. Let's say you are listing different food groups. The food group Fruit would have a break down or subcategory of different types of fruit. Observe:


    <html>

    <body>


    <h3>How to Create A Nested List:</h3>

    <ul>

    <li>Fruit</li>

    <ul>

    <li>Apples</li>

    <li>Bananas</li>

    </ul>

    </li>

    </ul>

    <ul>

    <li>Vegetables</li>

    <ul>

    <li> Asparagus</li>

    <li> Brocoli</li>

    </ul>


    </body>

    </html>

    The result:

     

    How to Create A Nested List:

    • Fruit

      • Apples

      • Bananas

    • Vegetables

      • Asparagus

      • Brocoli

    And lastly, the Definition List…

    The Definition List

    The Definition list is not a list of data, but rather a list of terms and their well…definitions. Here is how you code it:


    <html>

    <body>


    <h3>To Create A Definition List:</h3>

    <dl>

    <dt><b>Cheese</b></dt>

    <dd>A dairy byproduct of milk</dd>

    <dt><b>James</b></dt>

    <dd>A human byproduct of Awesomeness</dd>

    </dl>


    </body>

    </html>

    The result of this brilliant code:


    To Create A Definition List:

    Cheese

    A dairy byproduct of milk

    James

    A human byproduct of Awesomeness

    Well that’s it for this tutorial. Join us next time as we discuss how to work with tables in HTML.

    Till then…


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · Thanks for dropping by to read my article on Frames and Lists in HTML. In this...
       · hi there, i hav started to learn html,ur site has helped me a lot ,thanks a...
       · Hey, glad you like the site. If you have any questions about HTML (or any other...
     

    HTML ARTICLES

    - Comparing Browser Response to Active Client ...
    - Testing Browser Response to Active Client Pa...
    - Active Client Pages: Completing the Code for...
    - ACP and Browsers: Setting up an Example
    - How Browsers Respond to Active Client Pages
    - Completing a Tree with Active Client Pages
    - HTML Form Verification and ACP
    - Building an ACP Tree
    - Completing an ACP 3D HTML Table Image Gallery
    - Building an ACP 3D HTML Table Image Gallery
    - A Multiple Page Image Gallery with Active Cl...
    - Building an Image Gallery with Active Client...
    - Concluding a Menu for All Browsers
    - A Vertical Menu for All Browsers
    - Downloading Long HTML Pages with ACP







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    Stay green...Green IT