We are providing online training of realtime Live project on Asp.Net MVC with Angular and Web API. For more information click here. If you have any query then drop the messase in CONTACT FORM

Monday, June 22, 2015

Create html page and display the date using javascript.

<html>
<head >
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <h1>Display Date and Time</h1>
        <script type="text/javascript">
            document.write("<p>" + Date() + "</p>");
        </script>
    </div>
    </form>
</body>

</html>

Output:

No comments: