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:-

lists in html

  1. tea
  2. coffee
  3. boost
  1. kalyan
  2. babu
  3. raj
  1. computers
  2. maths
  3. physics
  1. pvkn
  2. pcr
  3. 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

Popular posts from this blog

6.Create a help file as follows using frameset concept

2. Illustrate font variations in your HTML code.

jquery lab programs 1&2