-
Web pages can be either static or dynamic. "Static" means unchanged or constant, while "dynamic" means changing or lively. Therefore, static Web pages contain the same prebuilt content each time the page is loaded, while the content of dynamic Web pages can be generated on-the-fly.Standard HTML pages are static Web pages.whereas Other types of Web pages, such as PHP, ASP, and JSP pages are dynamic Web pages..
-
Hello,
We can't change static web pages and they are stable but in other hand dynamic pages are more attractive and secure as compare to static pages. You can change your dynamic pages at any time.
-
Static Content
Static content is published to regular files on your server and handled using the simplest methods available to the web server. The advantages of static content are:
it is the fastest and most efficient way to deliver content
it does not require any code to execute or any databases to be accessed, which makes it the most secure way to deliver content
it uses simple, clean URLs to address the content
it takes best advantage of web caching systems, which further boosts performance
it is compatible with every type of webserver technology
However, it also has the following disadvantages:
it must be republished when it changes, or your viewers will not see the updates
it cannot display differently to different viewers, depending on their login status or other factors
Dynamic Content
Dynamic content is generated for you at the time you request the page. The document you view exists only for you at that moment; if viewed by someone else at the same time, or by you at a slightly different time, you could get something different. Dynamic content is good for:
pages whose content changes too quickly to easily republish it
pages that display viewer-specific content (eg. user profiles)
pages that display content conditionally (ie. member-only pages)
However, dynamic content has the following disadvantages:
it is resource-intensive compared to static pages. That means the number of dynamic pages your server can display per second will generally be much less than the number of static pages. This can be especially important if you are swamped with traffic, or generating thousands of dynamic page views for robots or other automated agents that you don't really care about.
dynamic pages execute code on your server, and can read from and write to your database. If your website has any security problems, dynamic pages is where those problems will be exposed.
in many typical default webserving configurations, the index page of a website is presumed to be a static page (eg. "index.html"). That means there are some places where it is impractical or more difficult to use dynamic pages than others.
-
Static website is a written completely by HTML code and each website pages are separate document. It is not use any kind of databases or external files that are drained upon. To editing of this type of website you have to go into each page and edit in HTML.
-
Static URL :
A static URL is one that does not change, so it typically does not contain any URL parameters.
Updating these kinds of pages can be time-consuming, especially if the amount of information grows quickly since every single page has to be hard-coded. This is why webmasters who deal with large, frequently updated sites like online shops, forum communities, blogs or content management systems may use dynamic URLs.
Dynamic URL :
If the content of a site is stored in a database and pulled for display on pages on demand, dynamic URLs may be used. In that case, the site serves basically as a template for the content.
Dynamic URLs have the disadvantage that different URLs can have the same content. So different users might link to URLs with different parameters which have the same content. That's one reason why webmasters sometimes want to rewrite their URLs to static ones.
-
If file extension of a URL is in .htm or .html then it is a static web pages. While if it is in .php, .asp and .jsp then it is the example of dynamic web pages. Static web pages are created through HTML language while dynamic web pages are created by the usage of PHP, JavaScript and Actionscript languages.
-
Static web page is page which is shown to the user, as it is stored in the database.
This is the simplest form of web page and require only HTML tags to create the web page
Dynamic web page is a page in which we can add the extra functionality in static web page, and user can see the different page as stored in database. For creating the dynamic page we need to add some functionality as per the logic and requirement.
-
Static website is a written completely by HTML code and each website pages are separate document while a dynamic website is one that is often developed in a complex language like Asp.net language, PHP language and so on which requires the creation of a database.
-
Static Web Pages
Hyper Text Markup Language (HTML) was the main apparatus with which individuals had started to make website pages in time long past circumstances. HTML is a dialect that adapt content, make sections and line breaks and so forth. However, the most essential thing that HTML does is connection creation. Every one of these connections that we see on pages are made utilizing HTML labels.
Dynamic Web Pages
As the requirement for making intuitive site pages developed –the significant instruments were made to make it conceivable. In the event that you go to a web based shopping site and see the item list –there are high shots that you'll be looking as a dynamic site pages.
Such dynamic website pages have two fundamental parts; Style of the page and data. Style of the page is made utilizing devices like HTML, CSS, JavaScript while the data is put away independently in a database. At the point when a dynamic page stacks in program –it demands the database to outfit data contingent on client's info. At the point when the page gets this data from database –the styling code gets connected on it and the subsequent page is shown to the client.