CodeLab
Show Output
 
xxxxxxxxxx
56
 
1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
<meta charset="utf-8">
5
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
<meta name="viewport" content="width=device-width, initial-scale=1">
7
<title>Example of Bootstrap 3 Lists</title>
8
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
9
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
10
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
11
<style type="text/css">
12
    .bs-example{
13
        margin: 20px;
14
    }
15
</style>
16
</head>
17
<body>
18
<div class="bs-example">
19
    <h2>Unordered List</h2>
20
    <ul>
21
        <li>Home</li>
22
        <li>Products
23
            <ul>
24
              <li>Product 1</li>
25
              <li>Product 2</li>
26
            </ul>
27
        </li>
28
        <li>About Us</li>
29
        <li>Contact</li>
30
    </ul>
31
    <hr>
32
    <h2>Ordered List</h2>
33
    <ol>
34
        <li>Home</li>
35
        <li>Products
36
            <ol>
37
              <li>Product 1</li>
38
              <li>Product 2</li>
39
            </ol>
40
        </li>
41
        <li>About Us</li>
42
        <li>Contact</li>
 
Switch to SQL Mode

Share this example with Facebook, Twitter, Gmail. Please give us a Like, if you find it helpful.