-->

HTML page with input type number.

If we want to input number in some range we can use input type number with some other attributes. Let's be clear with following example.
--------------------------------------------------------------------------------------------
<html><!--root tag-->

<head><!--used for meta tag-->
    <title><!--title tag-->
        form with input type number
    </title>
</head>

<body><!--is a container-->
    form <br>
    <form><!--opening of form tag-->
        enter number<br>
        <input type="number">
        <!--accepts number. we can put max or min attribute-->
    </form>
</body>

</html>

No comments:

Post a Comment