<form>
<input type="text" name="num1"> <select name="fh">
<option value="jia"> </option>
<option value="jian"> - </option>
<option value="c"> x </option>
<option value="chu"> / </option>
<option value="qy"> % </option> </select> <input type="text" name="num2"> <input type="submit" value="运算" />
</form>
Simple addition, subtraction, multiplication, division and remainder form
<input type="text" name="num1">
means entering a number 1
< ;select name="fh">
Represents the selection operator<input type="text" name="num2">Indicates entering a number 2<input type="submit" value="Operation" />Indicates submitting the form to obtain the calculation result (it can be returned by the backend or the frontend itself calculate); ;option value="c"> x </option>
; /option>
</select>