HTML is the heart of all web programming, but it is a somewhat limited document-formatting language. It is based on tags, which instruct the
browser how to display a chunk of text or an image. As such, the HTML is limited to a static, one-way interaction with the user. The web page can be as sophisticated and attractive to the surfer’s eyes as it can possibly be, but the user cannot interact with the page. Put another way, HTML simply lays there, much like a newspaper or book. The author has produced content and that content will be the same no matter how many times you read it, and it will be the same for all readers.
Interactive or dynamic web sites bring more enriched content and personalization to the web. Interaction cannot be static—it requires constructs
such as if statements and for loops, which are not part of the HTML syntax.