Home >Web Front-end >HTML Tutorial >HTML implements a simple calculator with detailed ideas_HTML/Xhtml_Web page production

HTML implements a simple calculator with detailed ideas_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:36:482142browse

Copy code
The code is as follows:





Calculator





style="height: 350px; width: 270px">








< /tr>














style="height: 70px; width: 90px; font-size: 35px">










style="height: 90px; width: 350px; font -size: 50px" />

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size : 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style ="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style ="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height : 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

< ;input type="button" value="*" id="mul" onclick="onclicknum('*')"
style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 190px; font-size: 35px">

onclick="onclicknum('/ ')"
style="height: 70px; width: 90px; font-size: 35px">

onclick="onclickclear()"
style="height: 70px; width: 190px; font-size: 35px" />

onclick="onclickresult()"
style="height: 70px; width: 190px; font-size: 35px" />




Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn