HTML
  Home arrow HTML arrow Page 5 - 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 - The Unordered List


    (Page 5 of 6 )

    The names ordered lists and unordered lists, to me, are misleading. Before you get up in arms and send me hate mail, I understand that the numerics in the ordered list are why it is called ordered. Still, I can put the data in any order I want in that list; it's the numerics preceding the data that are ordered. But you get my point. I hope.

    Instead of numerics, unordered lists use bullets in front of the data. Their creation is very similar to that of ordered lists:


    <html>

    <body>


    <h4>My Awesome Pasta Recipe:</h4>

    <ul>

    <li>Pasta</li>

    <li>Goat Cheese</li>

    <li>Roasted Red Peppers</li>

    <li>Sun-dried Tomatoes</li>

    <li>Chopped Eggplant</li>

    <li>Mozzarella</li>

    <li>Fresh Basil</li>

    <li>Turkey Sausage (optional)</li>

    <li>Grated Parmesan Cheese</li>

    </ul>


    </body>

    </html>

    As you can see, the only difference is the replacement of the <ol> tag with the <ul> tag. Also, just as there are different types of ordered lists, the same is true with our good buddy the unordered list:


    <html>

    <body>


    <h4>To Create a Disc bulleted list:</h4>

    <ul type="disc">

    <li>A</li>

    <li>B</li>

    <li>C</li>

    </ul>


    <h4>To Create a Circle bulleted list:</h4>

    <ul type="circle">

    <li>A</li>

    <li>B</li>

    <li>C</li>

    </ul>


    <h4>To Create a Square bulleted list:</h4>

    <ul type="square">

    <li>A</li>

    <li>B</li>

    <li>C</li>

    </ul>


    </body>

    </html>

    This displays:

    To Create a Disc bulleted list:

    • A

    • B

    • C

    To Create a Circle bulleted list:

    • A

    • B

    • C

    To Create a Square bulleted list:

    • A

    • B

    • C

    Note that there are other ways to display both types of lists, including custom bullets, but that is beyond the scope of this article.

    More HTML Articles
    More By James Payne


       · 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 6 Hosted by Hostway
    Stay green...Green IT