The below is the difference between the static website and the dynamic website:
Static website is a site which is used using HTML. In this each web pages is a static type means separate document there is no use of databases while the dynamic website is used using complex code such as PHP, ASP etc.
A Dynamic website is automated while static site is not automated.
Static website are the cheapest to develop and its hosting is also inexpensive as compared to dynamic website.
In Static site the content of web pages remained fixed while in dynamic site pages changed acc to the run time.
In Static site the file extension of a URL is in .htm or .html while in dynamic site it is in .php, .asp, .jsp etc.
Static site is the basic site and easiest to create and develop, its use only client side request(no use of the databases) while in dynamic site use server side processing and use the databases as well.
The languages used to create dynamic sites(server side languages) are much more complicated than the static site (client-side languages).
Dynamic site has a great degree of functionality as compared to static site.
Advantages of Static websites are:
1.Quick to develop
2. Cheap to host
3. Cheap to develop