Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

To create a web page that displays college information using various style in Java

  1. XYZ.CSS:
  2.  
  3. h3{font-family:arial;font-size:20;color:cyan}
  4.  
  5. table{border-color:green}
  6.  
  7. td{font-size:20pt;color:magenta}


  1. HTML CODE:
  2.  
  3. <html>
  4.  
  5. <head>

    <center>ALL STYLE SHEETS</center>

  6.  
  7. <title>USE of INTERNAL and EXTERNAL STYLESHEETS
  8.  
  9. </title>
  10.  
  11. <link rel="stylesheet" href="xyz.css" type="text/css">
  12.  
  13. <style type="text/css">
  14.  
  15. .vid{font-family:verdana;font-style:italic;color:red;text-align:center}
  16.  
  17. .ani{font-family:tahoma;font-style:italic;font-size:20;text-align:center;}
  18.  
  19. font{font-family:georgia;color:blue;font-size:20}
  20.  
  21. ul{list-style-type:circle}
  22.  
  23. </style>
  24.  
  25. </head>
  26.  
  27. <body>
  28.  
  29. <ol style="list-style-type:lower-alpha">
  30.  
  31. <b>A. GROUP OF COLLEGES</b><br><br><br>
  32.  
  33. <li>Raj Engineering College
  34.  
  35. <li>Dr University and Research Institute
  36.  
  37. <li>Raj College of Engineering,Bangalore
  38.  
  39. <li>Tamilnadu College of Arts and Science
  40.  
  41. </ol>
  42.  
  43. <p style="font-size:20pt;color:purple">A.C.S GROUP OF COLLEGES</p>
  44.  
  45. <p class="ani">CSS Group of colleges is owned by XXX.<br>It is approved
  46. by
  47.  
  48. International Council
  49.  
  50. It is affliated to JKK University.<br></p>
  51.  
  52. <h2 class="vid">DES College of Engg</h2>
  53.  
  54. <br>
  55.  
  56. <font>It is an ISO certified Institution</font><br>
  57.  
  58. <br>
  59.  
  60. <font>
  61.  
  62. List of Courses offered

  63.  
  64. <ul>
  65.  
  66. <li>Computer Science and Engineering</li>
  67.  
  68. <li>Ece</li>
  69.  
  70. <li>mech</li>
  71.  
  72. <li>eee</li>
  73.  
  74. </ul>
  75.  
  76. </font>
  77.  
  78. Results of cse students

  79.  
  80. <table width="100%" cellspacing="2" cellpadding="2" border="5">
  81.  
  82. <tr>
  83.  
  84. <th>S.NAME</th>
  85.  
  86. <th>MARKS</th>
  87.  
  88. <th>RESULT</th>
  89.  
  90. </tr>
  91.  
  92. <tr>
  93.  
  94. <td align="center">Dinesh</td>
  95.  
  96. <td align="center">100</td>
  97.  
  98. <td align="center">pass</td>
  99.  
  100. </tr>
  101.  
  102. <tr>
  103.  
  104. <td align="center">Bala</td>
  105.  
  106. <td align="center">99</td>
  107.  
  108. <td align="center">pass</td>
  109.  
  110. </tr>
  111.  
  112. <tr>
  113.  
  114. <td align="center">Gopi</td>
  115.  
  116. <td align="center">98</td>
  117.  
  118. <td align="center">pass</td>
  119.  
  120. </tr>
  121.  
  122. </table>
  123.  
  124. </body>
  125.  
  126. </html>