Ordered Un ordered List in HTML

 Raw live Results
wrestlemania 32 Matches and live results 
Every UnOrdered list Start with <ul> and each list item start with <li>. This list item will be marked with bullets (Black circles, square, none)
Unordered list Example in HTML
<html>
<body>
<h3>An Unordered List Example</h3>
<ul>
  <li>Apple</li>
  <li>Mango</li>
  <li>Banana</li>
</ul>


<ul style="list-style-type:square">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>
 

</body>
</html>
OUTPUT

    An Unordered List Example

    An Unordered List Example

    • Apple
    • Mango
    • Banana
    • Coffee
    • Tea
    • Milk
      Ordered List tag start from <ol> and each list item start with <li>
      Type = "1" This list item is numbered by default.
      Type = "A" This list item is numbered with upperletters
      Type = "a" This list item is numbered with smallletters
      Type = "I" This list item is numbered with upper roman numbers
      Type = "i" This list item is numbered with lower roman numbers  
      Ordered List example in HTML

        <html>
       <body>
      <h4>An Ordered List Example</h4>
      <ol> <li>Potato</li>
       <li>Tomato</li>
       <li>Peas</li>
      </ol>
      <h3>Letters list Example</h3>
      <ol type="A">
       <li>Apples</li>
      <li>Bananas</li>
      <li>Lemons</li>
      <li>Oranges</li>
      </ol>
      <h3>Lowercase letters list Example</h3>
      <ol type="a">
       <li>Apples</li>
       <li>Mango</li>
      <li>Orange</li>

      </ol>
      <h3>Roman numbers Example</h3>
      <ol type="I">
       <li>Apple</li>
       <li>Banana</li>
       <li>Mango</li>
      </ol>


       </body>
       </html>
       OUTPUT

      An Ordered List Example

      1. Potato
      2. Tomato
      3. Peas

      Letters list Example

      1. Apples
      2. Bananas
      3. Lemons
      4. Oranges

      Lowercase letters list Example:

      1. Apples
      2. Mango
      3. Orange
       Roman numbers Example
      1. Apple
      2. Banana
      3. Mango
        Note:- You can try it for Lower case Roman Number. this is your Test. Try it and comment it you are passed in Test or not. I Think you try. You passed the test. But Unfortunately you do not solve it how to write lower case Roman Number Please Comment it. I solve your problem
        You Also try C, C ++ tutorial click this link C, C++ Tutorial

        You Like my post Please share with friends

      No comments:

      Post a Comment