Static web pages and dynamic web pages are mainly distinguished according to the language in which the web pages are made:
Static web pages use language: HTML (Hypertext Markup Language)
Dynamic web pages use language: HTML+ASP or HTML+PHP or HTML+JSP, etc.
The difference between static web pages and dynamic web pages is
whether the program is running on the server side or not, which is an important sign. Programs, web pages, and components running on the server are dynamic web pages. They will return different web pages with different clients and at different times, such as ASP, PHP, JSP, ASP.net, CGI, etc. Programs, web pages, plug-ins, and components running on the client are static web pages, such as HTML pages, Flash, JavaScript, VBScript, etc., and they will never change.
Static web pages and dynamic web pages have their own characteristics. Whether a website uses dynamic web pages or static web pages mainly depends on the functional requirements of the website and the amount of website content. If the website function is relatively simple and the amount of content updates is not large, it will be more efficient to use purely static web pages. Simple, on the other hand, dynamic web page technology is generally used to achieve it.
Static web pages are the basis of website construction, and there is no contradiction between static web pages and dynamic web pages. In order for the website to adapt to the needs of search engine retrieval, even if dynamic website technology is used, web content can be converted into static web pages for publication.
Dynamic websites can also adopt the principle of combining static and dynamic ones. Where dynamic web pages are suitable, use dynamic web pages. If it is necessary to use static web pages, you can consider using static web pages to achieve it. On the same website, dynamic web page content and static web pages It is also common for content to exist simultaneously.
We briefly summarize the general characteristics of dynamic web pages as follows:
(1) Dynamic web pages are based on database technology, which can greatly reduce the workload of website maintenance;
(2) Websites using dynamic web pages technology can implement more functions, such as user registration , user login, online survey, user management, order management, etc.;
(3) Dynamic web pages are not actually web page files that exist independently on the server. The server returns a complete web page only when the user requests it;
(4) Dynamic web
pages"?" in web pages poses certain problems to search engine retrieval. It is generally impossible for search engines to access all web pages from a website's database, or due to technical considerations, search spiders do not crawl the URL after "?" Therefore, websites using dynamic web pages need to do certain technical processing to adapt to the requirements of search engines when promoting search engines
. What is a static web page? What are the characteristics of static web pages?
In website design, web pages in pure HTML format are often called "static web pages", and early websites were generally made from static web pages.
The URL format of static web pages is usually:
that is, with .htm, .html, .shtml, .xml, etc. as the suffix. Various dynamic effects can also appear on web pages in HTML format, such as animations in GIF format, FLASH, scrolling letters, etc. These "dynamic effects" are only visual and are different concepts from the dynamic web pages that will be introduced below. .
We briefly summarize the characteristics of static web pages as follows:
(1) Each web page of a static web page has a fixed URL, and the web page URL is suffixed in common forms such as .htm, .html, .shtml, etc., without "?";
(2) Once the web page content is published to the website server, regardless of whether there is a user access, the content of each static web page is stored on the website server. In other words, the static web page is a file actually stored on the server. Each web page is an independent file;
(3) The content of static web pages is relatively stable, so it is easy to be retrieved by search engines;
(4) Static web pages are not supported by databases, and the workload in website production and maintenance is large, so when When the website has a large amount of information, it is difficult to rely entirely on static web page production methods;
(5) The interactivity of static web pages has greater limitations in terms of functions
. I seem to understand. First, look at the suffix name, and secondly, whether it can be combined with the
static web page.Compared with dynamic web pages, static web pages
with server interactive behavior
refer to web pages that have no background database, no programs, and are non-interactive.Whatever you make up is what it shows, and there won't be any changes. Static web pages are relatively troublesome to update, and are suitable for display websites that generally have fewer updates.
The difference between static web pages and dynamic web pages is
whether the program is running on the server side or not, which is an important sign. Programs, web pages, and components running on the server are dynamic web pages. They will return different web pages with different clients and at different times, such as ASP, PHP, JSP, ASP.net, CGI, etc. Programs, web pages, plug-ins, and components running on the client are static web pages, such as HTML pages, Flash, JavaScript, VBScript, etc., and they will never change.
Static web pages and dynamic web pages have their own characteristics. Whether a website uses dynamic web pages or static web pages mainly depends on the functional requirements of the website and the amount of website content. If the website function is relatively simple and the amount of content updates is not large, it will be more efficient to use purely static web pages. Simple, on the other hand, dynamic web page technology is generally used to achieve it.
Static web pages are the basis of website construction, and there is no contradiction between static web pages and dynamic web pages. In order for the website to adapt to the needs of search engine retrieval, even if dynamic website technology is used, web content can be converted into static web pages for publication.
Dynamic websites can also adopt the principle of combining static and dynamic ones. Where dynamic web pages are suitable, use dynamic web pages. If it is necessary to use static web pages, you can consider using static web pages to achieve it. On the same website, dynamic web page content and static web pages It is also common for content to exist simultaneously.
We briefly summarize the general characteristics of dynamic web pages as follows:
(1) Dynamic web pages are based on database technology, which can greatly reduce the workload of website maintenance;
(2) Websites using dynamic web pages technology can implement more functions, such as user registration , user login, online survey, user management, order management, etc.;
(3) Dynamic web pages are not actually web page files that exist independently on the server. The server returns a complete web page only when the user requests it;
(4) Dynamic web
pages"?" in web pages poses certain problems to search engine retrieval. It is generally impossible for search engines to access all web pages from a website's database, or due to technical considerations, search spiders do not crawl the URL after "?" content, so websites that use dynamic web pages need to do certain technical processing when promoting search engines to adapt to the requirements of search engines.
In addition, if the extension is .asp but is not connected to the database and is a completely static page, it is also static. website.just.asp extension.