LIST Tags in Html
<!DOCTYPE html>
<html>
<head>
<title>Example of List</title>
</head>
<body>
<center><h1>Type of List</h1></center>
<!--Order list-->
<ol type=a>
<li>Ajit</li>
<li>Sahbaj</li>
<li>Pawan</li>
</ol>
<ol type=A>
<li>Ajit</li>
<li>Sahbaj</li>
<li>Pawan</li>
</ol>
<ol type=i>
<li>Ajit</li>
<li>Sahbaj</li>
<li>Pawan</li>
</ol>
<ol start="10">
<li>Ajit</li>
<li>Sahbaj</li>
<li>Pawan</li>
</ol>
<!--Unorder List-->
<ul type="square">
<li>Ajit</li>
<li>Sahbaj</li>
<li>Pawan</li>
</ul>
<!--Defination List-->
<dl>
<dt>Ajit</dt>
<dd>he is game Developer</dd>
</dl>
</body>
</html>
Output:
<html>
<head>
<title>Example of List</title>
</head>
<body>
<center><h1>Type of List</h1></center>
<!--Order list-->
<ol type=a>
<li>Ajit</li>
<li>Sahbaj</li>
<li>Pawan</li>
</ol>
<ol type=A>
<li>Ajit</li>
<li>Sahbaj</li>
<li>Pawan</li>
</ol>
<ol type=i>
<li>Ajit</li>
<li>Sahbaj</li>
<li>Pawan</li>
</ol>
<ol start="10">
<li>Ajit</li>
<li>Sahbaj</li>
<li>Pawan</li>
</ol>
<!--Unorder List-->
<ul type="square">
<li>Ajit</li>
<li>Sahbaj</li>
<li>Pawan</li>
</ul>
<!--Defination List-->
<dl>
<dt>Ajit</dt>
<dd>he is game Developer</dd>
</dl>
</body>
</html>
Output:
Type of List
- Ajit
- Sahbaj
- Pawan
- Ajit
- Sahbaj
- Pawan
- Ajit
- Sahbaj
- Pawan
- Ajit
- Sahbaj
- Pawan
- Ajit
- Sahbaj
- Pawan
- Ajit
- he is game Developer
Comments
Post a Comment