Monday, 18 February 2019

FISH ANIMATION USING CSS3


<!create a web page fish animation using css3 !>
<html>
<head>
<style>
#m3
{
  position:absoute;
  left:250px;
  top:-5
}
</style>
</head>
<body background="ocean.jpg">

<marquee scrollamount="5" direction="left">
<img src="fish1.gif" width="140" height="100" />
</marquee>
<marquee scrollamount="5" direction="right">
<img src="fish2.gif" width="140" height="100" />
</marquee>
<marquee id="m3" scrollamount="5" direction="down" height="500">
<img src="fish1.gif" width="140" height="100" />
</marquee>
<marquee scrollamount="5" direction="left">
<img src="fish3.gif" width="140" height="100" />
</marquee>


</body>
</html>

VINAYAKA ANIMATION USING CSS


<!create a web page vinayaka animation using css !>

<html>
<head>
<style>
h1
{ 
  border-width:2px;
  font-family:'tahoma';
  color:green;
  
}
</style>
</head>
<body bgcolor="orange">

<marquee direction="right" scrollamount="5"><h1>Happy vinayaka chavithi</h1> </marquee>
<br/>
<marquee scrollamount="10"><img src="vinayaka.gif" width="130"/> </marquee>
<br/>
<marquee direction="right" scrollamount="5"><img src="ganesh.gif" width="200"/> </marquee>

<marquee direction="right" scrollamount="10"><img src="vinayaka.gif" width="130"/> </marquee>

</body>
</html>

Thursday, 7 February 2019

HTML 5 Graphics -SVG Demo


  1.  <html>
  2. <head>
  3. </head>
  4. <body>
  5. <h1> HTML 5 Graphics -SVG </h1>
  6. <hr/>

  7. <svg id="svg1" width="300" height="300" style="border:2px solid blue;">
  8. <line X1="0" Y1="0" X2="300" Y2="300" style="stroke:red; stroke-width:5"/>

  9. <line X1="20" Y1="0" X2="300" Y2="280" style="stroke:green; stroke-width:5"/>

  10. <line X1="0" Y1="20" X2="280" Y2="300" style="stroke:blue; stroke-width:5"/>

  11.  <line X1="300" Y1="0" X2="0" Y2="300" style="stroke:black; stroke-width:5"/>
  12.  
  13.  <line X1="0" Y1="280" X2="280" Y2="0" style="stroke:yellow; stroke-width:5"/>
  14.  
  15.  <line X1="320" Y1="0" X2="0" Y2="320" style="stroke:pink; stroke-width:5"/>
  16.  
  17. < circle cx="150" cy="150" r="60" stroke:red stroke-width:3 fill="green"/>

  18.  <circle cx="150" Cy="150" r="30" stroke:red stroke-width:2 fill="lightblue"/>
  19. </svg>

  20. </body>
  21. </html>



Saturday, 1 September 2018

PSPK ANIMATION



<!--create a web page to apply animation to image tag by using css Animation-->

<!DOCTYPE html>
<html>
<head>
<style>
#x
{
 border:2px solid green;
 background-color:green;
 color:white;
 text-align:center;
 width-left:400px;
 padding:10px;
 border-top-left-radius:20px;
 border-bottom-right-radius:20px;
}
h2
{
 color:blue;
 text-shadow:0px 0px 5px green;
}

@keyframes Animation1
{
 from {width:100px;height:60px;transform:rotate(0deg);}
 to {width:600px;height:400px;transform:rotate(360deg);}
}
#img1
{
 width:100px;
 height:60px;
 border:0px solid blue;
 border-radius:10px;
 padding:5px;
 margin-left:50px;

 Animation-name:Animation1;
 Animation-duration:20s;
 Animation-iteration-count:5;
 Animation-direction:alternate;
 Animation-delay:4s;

}
</style>
</head>

<body bgcolor="orange">
<h1 id="x">PAVAN KALYAN</h1>
<marquee><h2>HAPPY BIRTHDAY PSPK PAVANISM</h2></marquee>
<br></br>
<img id="img1" src="pspk.jpg"/>
<img id="img1" src="pk.jpg"/>

</body>
</html>

Thursday, 23 August 2018

cricketer list web page


create web a page cricketer list using html and css




<html>
<head>
<style>
img
{
 width:150px;
 height:150px;
 border:2px solid black;
 border-radius:100px;
}
div
{
 width:170px;
 height:190px;
 padding:10px;
 text-align:center;
 border:0px solid red;
 margin:8px;
 float:left;
}
img:hover
{
 opacity:0.4;
}
#x
{
  border:2px solid green;
  background-color:green;
  color:white;
  text-align:center;
  width:300px;
  padding:10px;
 }

</style>
</head>
<body bgcolor="orange">
<h2 id="x">
India cricket Team</h2>
<hr/>

<div>
<img src="images.jpg"/>
<br/>
<span>Virat Kohli</span>
</div>

<div>
<img src="images1.jpg"/>
<br/>
<span>Ms Dhoni</span>
</div>

<div>
<img src="images2.jpg"/>
<br/>
<span>Sachin Tendulkar</span>
</div>
<div>
<img src="images3.jpg"/>
<br/>
<span>Sehwag</span>
</div>

<div>
<img src="images4.jpg"/>
<br/>
<span>Rohit Sharma</span>
</div>

<div>
<img src="images5.jpg"/>
<br/>
<span>Suresh Raina</span>
</div>
<div>
<img src="images6.jpg"/>
<br/>
<span>Shekar Dhawan</span>
</div>
<div>
<img src="images7.jpg"/>
<br/>
<span>Dinesh Karthik</span>
</div>
<div>
<img src="images8.jpg"/>
<br/>
<span>Bhuvaneshwar Kumar</span>
</div>

<div>
<img src="images9.jpg"/>
<br/>
<span>Ravindra jadeja</span>
</div>

</body>
</html>