Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8/>
- <title> Calculate multiplication and division of two numbers </title>
- <style type = "text/css">
- body { margin: 30px;}
- </style>
- </head>
- <body>
- <form>
- 1st Number : <input type="text" id="firstNumber" /><br>
- 2nd Number : <input type="text" id="secondNumber" /><br>
- <input type="button" onClick="multiplyBy()" Value="Multiply" />
- <input type="button" onClick="divideBy()" Value="Divide"/>
- </form>
- <p> The Result is : <br>
- <span id = "result"></span>
- </p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement