Web pages can be static and based only on html or dynamic based on coding in javascript or php.
HTML . HTML can embed programs written in a scripting language such as JavaScript which affect the behavior and content of web pages .