-->

HTML page with input type button and javascript.

Look at following example.
--------------------------------------------------------------
<html><!--root tag-->

<head><!--used for meta tag-->
    <title><!--title tag-->
        form with button type button and javascript
    </title>
</head>

<body><!--is a container-->
    form <br>
    <form><!--opening of form tag-->
        <!--following script is related to button-->
        click the
        <button type="button" onclick="alert('you clicked the button')" ">click me</button>

    </form>
</body>

</html>

No comments:

Post a Comment