]

Oct 20, 2015

How to Formatted Ordered List in HTML?

Ordered List

<body>
<ol>
<li>Google</li>
<li>Youtube</li>
<li>Twitter</li>
<li>Facebook</li>
</ol>
</body>

OutPut
  1. Google
  2. Youtube
  3. Twitter
  4. Facebook

Ordered List have two attributes Like TYPE and START

Type Replace a (Lower Case), A (Upper Case), i (Lower Roman Letter), I(Upper Roman Letter)

<body>
<ol TYPE='a'>
<li>Google</li>
<li>Youtube</li>
<li>Twitter</li>
<li>Facebook</li>
</ol>
</body>

Output
  1. Google
  2. Youtube
  3. Twitter
  4. Facebook

<body>
<ol START='100'>
<li>Google</li>
<li>Youtube</li>
<li>Twitter</li>
<li>Facebook</li>
</ol>
</body>

Output
  1. Google
  2. Youtube
  3. Twitter
  4. Facebook
Video


0 comments:

Post a Comment

Enter your email address: