LIST:-
<html>
<body>
<h2>An Unordered List</h2>
<ul>
<li>Akash</li>
<li>Soni</li>
<li>Venu</li>
</ul>
<h2>An Ordered List</h2>
<ol>
<li>Akash</li>
<li>Soni</li>
<li>Venu</li>
</ol>
</body>
OUTPUT:-
<html>
<body>
<h2>An Unordered List</h2>
<ul>
<li>Akash</li>
<li>Soni</li>
<li>Venu</li>
</ul>
<h2>An Ordered List</h2>
<ol>
<li>Akash</li>
<li>Soni</li>
<li>Venu</li>
</ol>
</body>
OUTPUT:-
- Lists are defined with the <ul>(unordered list) or the <ol> (ordered list) tag, followed by <li> tags (list items).
No comments:
Post a Comment