Home > Web Front-end > Front-end Q&A > What does static html mean?

What does static html mean?

WBOY
Release: 2022-03-28 14:19:47
Original
3062 people have browsed it

HTML static means that the code of the web page is all in the page, and there is no need to execute dynamic languages ​​​​such as asp and php to generate client web page code, that is, the information displayed on the page is completely consistent with the storage structure; html static It can improve user access speed, reduce server burden, and static web pages are also relatively stable.

What does static html mean?

The operating environment of this article: Windows 10 system, html5 version, Dell G3 computer.

What does html static mean?

A static page is a web page (html, htm) whose codes are all in the page. It does not need to execute dynamic languages ​​​​such as asp, php, jsp, .net and so on. For web pages with client web code, the static page URL generally does not contain special symbols such as "?", "=", and "&". Static pages cannot independently manage and publish updated pages. If you want to update web page content, you must download the file through FTP software and modify it with web page editing software (except through technologies such as fso). Examples of common static pages: .html extension, . htm extension.

Note: Static pages are not supported by databases, and web content cannot be updated by updating the database. It does not mean that there is no animation on the microsite, which is a static page.

Let's define a static page together, that is, "the information displayed on the page is completely consistent with the storage structure."

In WEB development, static web pages are generally understood to mean that the pages referenced by most hyperlinks in the website are separate HTML static page files (such as *.htm, *.html and other page files). In ASP.NET (the same goes for ASP, PHP or JSP), the page dynamically generates HTML code through the runtime library (other languages ​​also have corresponding interpreters or runtime environments), and then sends it to the browser, instead of directly sending the page File sending.

Through certain technical means, the content of the page that the browsing user may browse through the hyperlink is pre-converted into a separate HTML static page. When the user browses, the server directly sends the page file to the browser for parsing. .

What are the benefits of static HTML on a website?

Static web pages improve user access speed and reduce server burden;

Search engines prefer static pages Crawling is beneficial to search engine optimization seo. Baidu and Google give priority to including static pages, which are not only included quickly but also included completely;

Static web pages are relatively stable;

is beneficial to search engines Collect website page information. Commercially operated websites are particularly eager for search engines such as Google and Baidu to include as much information as possible on the pages in the site. HTML pages can greatly increase the possibility of including website pages. There is also a similar technology that can also accomplish similar functions, namely pseudo-static web pages, that is, using techniques such as URL rewriting to redirect the static HTML address pointed to by the hyperlink to a dynamic page (such as an *.aspx page).

Because search engines often first search for hyperlinks in pages, and hyperlinks point to HTML static pages, so they can easily directly search for the corresponding dynamic page content.

Recommended tutorial: "html video tutorial"

The above is the detailed content of What does static html mean?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template