BCA Practical 25

Practical 25 : Write a PHP program for the user the CSS file
Create First MyCss.CSS File

  h1

  {

  color:#0000;

  background-color:#0099cc;

  font-size:24px;

  font-family:"Monotype Corsiva";

  background-image:url(sky.jpg);

  }
p

  {

  color:#0000;

  background-color:#0099cc;

  font-size:24px;

  font-family:"Monotype Corsiva";

  background-image:url(sky.jpg);

  }
.j1

  {

  height:400px;

  margin:20px 0 0 20px;

  text-decoration:blink;

  }

  

  Create Page

  <html>

  <head>

  <title>Practical : 25</title>

  <link rel="stylesheet" href="MyCss.css">

  </head>
<body>

  <?php 

  echo "<div class='j1'>";

  echo "<h1> This is The Example of External CSS File </h1>";

  echo "<br>";

  echo "<p> 

  This is The Example of Paragraph Tag.

  It is Used CSS Declaration Declare From Mycss.css File

  </p>";

  echo "</div>";

  ?>

  </body>

  </html>


EmoticonEmoticon