4. Create a simple HTML program to illustrate three types of lists.
4. Create a simple HTML program to illustrate three types of lists.
program code:-
<!doctype html>
<html>
<head>
<title>lists</title>
</head>
<body>
<FONT COLOR="red">
<h1>lists in html</h1>
<ol>
<li>tea</li>
<li>coffee</li>
<li>boost</li>
</font>
</ol>
<FONT COLOR="green">
<ol start="25">
<li>kalyan</li>
<li>babu</li>
<li>raj</li>
</ol>
</font>
<ol type="A">
<li>computers</li>
<li>maths</li>
<li>physics</li>
</ol>
<ol type="i">
<li>pvkn</li>
<li>pcr</li>
<li>ghs</li>
</ol>
<ul>
<li>tea</li>
<li>coffee</li>
<li>boost</li>
<ul>
<li>vignan degree clg </li>
<li>vijayam</li>
<li>vcr</li>
<ul>
<li>ctr</li>
<li>nellor</li>
</ul>
</ul>
</ul>
<dl>
<dt>kalyan</dt>
<dd>takes as a cluster physics or maths</dd>
<dd>mohen takes as a cluster physics </dd>
</dl>
</body>
</html>
output:-
program code:-
<!doctype html>
<html>
<head>
<title>lists</title>
</head>
<body>
<FONT COLOR="red">
<h1>lists in html</h1>
<ol>
<li>tea</li>
<li>coffee</li>
<li>boost</li>
</font>
</ol>
<FONT COLOR="green">
<ol start="25">
<li>kalyan</li>
<li>babu</li>
<li>raj</li>
</ol>
</font>
<ol type="A">
<li>computers</li>
<li>maths</li>
<li>physics</li>
</ol>
<ol type="i">
<li>pvkn</li>
<li>pcr</li>
<li>ghs</li>
</ol>
<ul>
<li>tea</li>
<li>coffee</li>
<li>boost</li>
<ul>
<li>vignan degree clg </li>
<li>vijayam</li>
<li>vcr</li>
<ul>
<li>ctr</li>
<li>nellor</li>
</ul>
</ul>
</ul>
<dl>
<dt>kalyan</dt>
<dd>takes as a cluster physics or maths</dd>
<dd>mohen takes as a cluster physics </dd>
</dl>
</body>
</html>
output:-
lists in html
- tea
- coffee
- boost
- kalyan
- babu
- raj
- computers
- maths
- physics
- pvkn
- pcr
- ghs
- tea
- coffee
- boost
- vignan degree clg
- vijayam
- vcr
- ctr
- nellor
- kalyan
- takes as a cluster physics or maths
- mohen takes as a cluster physics
Comments
Post a Comment