Cube using JavaScript

<html> <h1>CUBE using JavaScript</h1> <form> Enter No:<input type="text" id="number" name="number"/><br/> <input type="button" value="cube" onclick="getcube()"/> </form> <script type="text/javascript"> function getcube() { var number=document.getElementById("number").value; alert(number*number*number); } </script> </html>

Cube using JavaScript Read More

Area of Circle using JavaScript

<html> <body> <script> function area(radius) { var area; area=Math.PI*radius*radius; return area; } </script> <form> enter the radius: <input type="text" name="radius"> <br> <br> Area <input type="text" name="result"> <input type="button" value="calculate" onclick="result.value=area(radius.value)"> …

Area of Circle using JavaScript Read More

Schedule in HTML

Schedule(HTML)<–DOWNLOAD Schedule_with_CSS<–DOWNLOAD Schedule <– DOWNLOAD Schedule_with_CSS(DOWNLOAD,   This file includes CSS) Example: <!DOCTYPE html> <html> <body> <h1>Schedule for Third Semester(BCA)</h1> <table border=”5″ cellpadding=”5″ cellspacing=”5″ align=”center”> <tr> <td align=”center” height=”50″ width=”100″><br> <b>Day/Period</b></br> </td> …

Schedule in HTML Read More

Variable in PHP

Rules of declaring variables in PHP •A variable starts with the $ sign followed by the name of variable. •A variable cannot start with a number. •A variable can only …

Variable in PHP Read More

PHP Introduction

Introduction PHP is an acronym of “Hypertext Preprocessor” which is widely used open source server side scripting language that is especially suited for web development and can be embedded into …

PHP Introduction Read More