Simple Calculator in HTML :CSD Cognizant Mandatory Hands-on 1
index.html
<!DOCTYPE html><html>
<body>
<font size = "20" color="blue">Calculator</font><br>
<img src="calculator.jpg" height="300px" width="400px" />
<form>
Input 1
<input type="number" name="input1"/>
<br>
Input 2
<input type="number" name="input2"/>
<p>Select Operation</p>
<select name="operation">
<option value="Select..">Select..</option>
<option value="ADD">ADD</option>
<option value="SUBTRACT">SUBTRACT</option>
<option value="MULTIPLY">MULTIPLY</option>
<option value="DIVIDE">DIVIDE</option>
</select>
</form>
<img src="calc.jpg" height="80px" width="80px"/>
<img src="reset.jpg" height="80px" width="80px"/>
</body>
</html>
Comments
Post a Comment