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  
Dedicated Servers  
Actuate Whitepapers 
VeriSign Whitepapers 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM developerWorks
 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
     
    Iron Speed
     
    ADVERTISEMENT

    Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    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

    - Another Look at Animation of Geographical Ma...
    - Animation of Geographical Map Regions
    - Changing and Moving Pictures with CSS
    - Clickable Geographical Map Regions
    - Gradient Creation with the HR Element
    - Text on HTML Images: Do it Yourself
    - Custom Buttons in HTML
    - Quick Web Page Menu
    - Maximizing and Restoring HTML Images with th...
    - Maximizing and Restoring HTML Images with th...
    - Handling Hyperlinks and Images in HTML
    - Quick Start with HTML
    - HTML Tips
    - Color Composition and HTML
    - HTML Fonts, Styles, and Headers


    Iron Speed





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway