Explain the difference b/w static and dynamic websites?

In static websites, content can’t be changed after running the script. You can’t change anything on the site. It is predefined.

In dynamic websites, content of script can be changed at the run time. Its content is regenerated every time a user visit or reload. Google, yahoo and every search engine is the example of dynamic website.