News

JAVA SCRIPT

JavaScript is the most popular programming language in the world.
This page contains some examples of what JavaScript can do in HTML.

The HTML DOM (the Document Object Model) is the official W3C standard for accessing HTML elements.
JavaScript can manipulate the DOM (change HTML contents).
The following example changes the content (innerHTML) of an HTML element identified with id="demo":

You can use JavaScript to:
  • Change HTML elements
  • Delete HTML elements
  • Create new HTML elements
  • Copy and clone HTML elements
  • And much more ...
PRACTICE 1: Attribute with SRC

0 comments:

Post a Comment