JavaScript Introduction | Overview | Introducing JavaScript

Introducing JavaScript

JavaScript can do many different things in web programming, including the following.

  1. JavaScript can change the “content” of HTML.
  2. JavaScript can change the “attributes” of HTML.
  3. JavaScript can change the “style” of HTML.

Changing the Content of HTML Elements

With JavaScript, you can easily change the content of HTML elements.

Changing Attribute Values of HTML Elements

With JavaScript, you can easily change the attribute values of HTML elements.

Changing the Style of HTML Elements

With JavaScript, you can easily change the style of HTML elements.