Home  >  Q&A  >  body text

What does this form mean? Can you explain it in detail sentence by sentence?

<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>

慢走慢走1716 days ago1168

reply all(1)I'll reply

  • 只是没有如果

    只是没有如果2020-01-11 16:14:23

    Simple addition, subtraction, multiplication, division and remainder form

    <input type="text" name="num1">

    means entering a number 1

    < ;select name="fh">
    ; ;option value="c"> x </option>
    ; /option>

    </select>

    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)

    reply
    1
  • Cancelreply