The difference between dynamic and static pages



Static page: that is, all the content displayed on the page is written in the HTML file. Such as changing the content is to directly modify the HTML file.

Dynamic page: that is, the content is not written in the HTML file, the content of the page is output through a programming language like (.asp .php .jsp .cgi format file), or the content from the database and the content from the database written by the program to access the database Yes, changing the database can achieve the purpose of modifying the content without modifying the HTML file.


The distinction between static and dynamic is not defined by whether the page has animation or not, and whether the page can interact (but generally the interaction is dynamic, except for the interaction of jumping pages), but by whether the content on the webpage file is dynamically generated. The content is fixed (the hard-written is static), and the content generated by the programming language is the indefinite content (of course, you can also output certain content, but it is meaningless).

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327033618&siteId=291194637
Recommended