I. RAJESH KUMAR (MSc, M.Tech, B.Ed, M.Th)
10. Showing Date and Time in a Web Page
JavaScript
<!DOCTYPE html>
<html>
<head>
<title>Date and Time</title>
</head>
<body>
<script>
document.write(new Date());
</script>
</body>
</html>
No comments:
Post a Comment