javascript in html

HTML JavaScript

A Script is a small program which is used with HTML to make web pages more attractive, dynamic and interactive, such as an alert popup window on mouse click. Currently, the most popular scripting language is HTML JavaScript used for websites. Example: <!DOCTYPE html><html><body><h1>JavaScript Date and Time example</h1><button type=”button”onclick=”document.getElementById(‘demo’).innerHTML = Date()”>Click me to display Date …

HTML JavaScript Read More »