Static websites are made up of normal HTML codes whereas dynamic has scripts inthem .They change according to the usage.
The most common example of a dynamic page is a blog. Dynamic pages are easy to update. Frequent updates can improve cache rate which is thought by many to be good for ranking power. Cache rate is one part of the ranking equation. There are other important factors.
Difference between static and dynamic website.Static website can't change the content of website and Dynamic website we change our content and images simultaneously.
A static site written in HTML and there is no database and external files.Each web page is a separate document.If you want to edit the web page is to go into each page and edit the HTML. Dynamic site written using more complex code — such as PHP or ASP.Each page of a dynamic website is generated from information stored in a database or external file.And the content management system that you may use to maintain your website directly modifies this stored information.