Slip 24 - B) Write html code to display following list. (use internal CSS to format the list) i. Arts [25] • BA • MA ii. Commerce • Bcom • Mcom iii. Science • B.Sc. • M.Sc.

Solution:

<html>

<body>

<ol type ="i">

<li>Art</li>

<ul type="Disc">

<li>BA</li>

<li>MA</li>

</ul>

<li> Commerce</li>

<ul type="Disc">

<li>Bcom</li>

<li>Mcom</li>

</ul>

<li>Science</li>

<ul type="Disc">

<li>B.Sc</li>

<li>M.Sc</li>

</ul>

</ol>

</body>

</html>

Post a Comment

0 Comments