DOTYPE html> <html lang="en"> <head> <style type="text/css"> canvas { border-color:blue; border-style:solid; } </style> <script type="text/javascript"> function draw() {

can=document.getElementById("mycanvas"); cont=can.getContext("2d"); cont.fillStyle="yellow"; cont.arc(150,150,120,0,Math.PI*2,true);

cont.fill(); cont.beginPath(); cont.fillStyle="black"; cont.arc(90,120,20,0,Math.PI*2,true); cont.arc(210,120,20,0,Math.PI*2,true); cont.fill(); cont.beginPath(); cont.arc(150,200,40,Math.PI,Math.PI*2,true);

fillStyle="yellow".true).fill(). cont.arc(150.5.200.Math. cont.fillStyle="black".arc(150.Math. cont.true).fill(). cont.fillStyle="white". cont.PI*2. cont.Math.cont.60. cont. cont. cont. cont.fill().Math.156. cont.PI*2. cont.PI*2.PI.beginPath().20.Math.fill().Math.PI*2. cont.PI.150.fill().Math.beginPath().beginPath().fillStyle="yellow".true).beginPath().arc(210.120.0.arc(150.true).true).arc(150.60. cont. cont.0.fill(). cont.PI*2.5.beginPath().40.Math.120.0.arc(90. cont.170. cont.Math. } function smile() { cont. cont.true). cont. .fillStyle="black".PI*2.PI.beginPath(). cont.

PI*2.5. cont.true). } </script> </head> <body onload="draw()"> <article> <header>Smile</header> .true).5. cont. cont. cont. id=setTimeout(blink.true).arc(210.120.arc(150.arc(90.arc(210.fillStyle="black".PI*2. cont.Math. cont.300).true). cont. cont. cont.PI*2.arc(90.0. } function blink1() { cont.fill().300). cont.fill().0.fill() } function blink() { cont.fillStyle="white".Math.PI*2.PI*2.beginPath().5.120.beginPath().true).Math. id=setTimeout(blink1.120.170.fillStyle="black".Math.Math.20.cont.

Some people are too tired to give you a SMILE Give them one of yours. A smile creates happiness in the home. but the memory of it sometimes lasts forever. Yet it cannot be bought. or stolen. without making poorer those who give. None is so rich or mighty that he can get along without it and none is so poor but that he can be made rich by it. It takes but a moment. but gives much. as none needs a SMILE so much as he who has no more to give. for it is something that is of no value to anyone until it is given away.<section><br> A smile costs nothing .<br> </section> <footer>end of article</footer> </article> <canvas id="mycanvas" width="300" height="300"> </canvas> <input value=" blink" type="button" onclick="blink()"> <input value=" smile" type="button" onclick="smile()"> <p> <video width="350" height="250" controls="controls"> <source src="movie.mp4" type="video/mp4" /> </p> </body> </html> . fosters good will in business and is the countersign of friendship. begged. sunshine to the sad and it is nature's best antidote for trouble. borrowed. cheer to the discouraged. It brings rest to the weary. It enriches those who receive.

Sign up to vote on this title
UsefulNot useful