Inline JavaScript

Objective

  • Use inline JavaScript as an event handler

JavaScript code added as attribute value

Example:
Code: