i want simple HTML tags or programs

Discussion in 'HTML & Website Design' started by thajula, Sep 6, 2010.

  1. #1
    hello buddy,

    just now i leaning html programs...i want simple program coding..anybody help me

    i want order list and unorder list programs

    i tried but not getting correct output

    this is my program order list

    <html>
    <head>
    <title>order list</title>
    </head>
    <body>
    <ol>
    <li>coffee</li>
    <li>tea</li>
    <li>milk</li>
    </ol>
    </body>
    </html>

    unorder list

    <html>
    <head>
    <title>unorder list</title>
    </head>
    <ul>
    <li>coffee</li>
    <li>tea</li>
    <li>milk</li>
    </ul>
    </body>
    </html>

    i got output this only

    order list

    1.coffee
    2.tea
    3.milk

    unorder list

    .coffee
    .tea
    .milk

    but i want this way

    order list program
    we are giving input is random list but we want output is alphabetic or numeric order list

    unorder list program
    we are giving input is order list we want output is random or unorder list.

    <html>
    <head>
    <title>order list</title>
    </head>
    <body>
    <ol>
    <li>Milk</li>
    <li>coffee</li>
    <li>tea</li>
    </ol>
    </body>
    </html>

    order list output want this way

    coffee
    milk
    tea

    unorder

    <html>
    <head>
    <title>unorder list</title>
    </head>
    <body>
    <ul>
    <li>coffee</li>
    <li>milk</li>
    <li>tea</li>
    </ul>
    </body>
    </html>

    unorder list output want this way

    milk
    tea
    coffee

    anybody give solution.

    thanks
     
    thajula, Sep 6, 2010 IP
  2. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #2
    radiant_luv, Sep 6, 2010 IP
  3. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #3
    list-style: none;

    or

    list-style-type:none;

    are both correct in this scenario.
     
    CSM, Sep 6, 2010 IP