Static websites
A static site comprises of a progression of HTML records, every one speaking to an actual page of a site. So on static destinations, each page is a different HTML document. At the point when you visit the landing page, you are seeing the genuine landing page document.
Regardless of whether two pages contain a lump of indistinguishable substance (like a footer), the two of them contain two adaptations. In this way, in the event that you need to refresh the footer, you should do so twice, once on each page.
This is genuinely clear and it's the way all websites were worked during the early long stretches of the internet.
Dynamic Websites
A dynamic site utilizes worker advances, (for example, PHP) to dynamically construct a page right when a client visits the page.
Essentially, what happens is the client goes to a specific web address and the worker finds a lot of various snippets of data that it composes into a solitary durable page, which is the thing that you see.
This method of building site pages "on the fly" has a few points of interest.
The advantages of dynamic websites
Simpler plan refreshes
Since each portion of a site page is isolated, it is a lot less complex to refresh something across numerous pages, at the same time.
For instance, on the off chance that you have a change to your site's route you just need to transform it in one spot (the document that holds route data) and it is refreshed on all pages that contain that record.
In the event that you had a static site, you would need to alter each and every page so as to roll out an improvement to the site's route. This is dreary, monotonous, and inclined to mistakes.
More adaptable information
Since a dynamic site arranges a lot of page pieces to make an entire page, you can store your substance (and different pieces of your site) in an information base.
The upside of this is that you can without much of a stretch access and alter your substance in an assortment of ways or even have it load over numerous websites (for instance, on the off chance that you had two particular brands with some covering content.)
Information bases likewise make it simple to look through your substance, sort it, load it in dynamic ways, (for example, showing the 5 latest passages about sock manikins), and back it up. The entirety of this is almost inconceivable with a static site.
Simpler substance refreshes
Dynamic websites with a substance the executives framework (CMS) make it basic for a non-specialized individual to make and refresh the substance of the webpage. Since the different pieces of the page are largely independent, a substance designer won't have to know any HTML so as to make another page or article for the site.
You can just focus on composing the substance and the dynamic webpage deals with placing that content into the correct spot on the site. With a static website the substance designer would need to know HTML or utilize the assistance of somebody who does so as to make another page for a webpage.
Are there any impediments to a dynamic site?
It truly relies upon what the reason for the site you're building is. Dynamic locales may take more time to at first code and create than static destinations.
Be that as it may, as a rule any forthcoming reserve funds you may accomplish from a static site will be cleared out numerous occasions throughout by the extra time you'll requirement for future updates and amendments.
So if the site is essentially temporarily advancement, just has a page or two, and will be brought down when the promotion closes, it's conceivable that a static site may be the better alternative. Anyway in by far most of site ventures, dynamic locales pay off at long last.