The difference between a static web page and a Dynamic Web page

Source: Internet
Author: User

1.

What is a static web page? What is a dynamic web page? What is the difference between the two? Try to illustrate the Example.

A: In the design of the website, Pure

Html

The format of a Web page is often referred to as

Static Web page

, the early sites were generally

Made from a static web Page. Static Web pages are relative to dynamic web pages, meaning that there is no background database, no programs and

Web pages that are not Interactive. What you're making up is what it shows and There's no Change. Static Web page Relative update

It's more troublesome, and is suitable for display sites that are less commonly updated. Static Web pages are usually URLs in the form of

:

Www.exa

Mple.com/eg/eg.htm

, namely, to

. htm

. html

. shtml

. xml

Wait for the suffix after. In

Html

Pane

On the Web page, you can also have a variety of dynamic effects, such as

. Gif

The format of the animation,

FLASH

, scrolling letters, etc., which

Some

Dynamic effects

It's just visual, and it's a different concept than the Dynamic Web page That's going to be described below.

We will briefly summarize the characteristics of static Web pages as Follows:

1

) static pages Each page has a fixed

Url

, and the Web page

Url

To

. htm

. html

. shtml

And so often

See the form as a suffix and not contain

2

Once the content of the Web page is posted to the Web server, the content of each static Web page, whether or not it is accessed by users, is

stored on the Web server, that is, static pages are actually saved on the server file, each network

The page is a separate file;

3

The content of static webpage is relatively stable, so it is easy to be searched by search engine;

4

Static Web pages do not have the support of the database, in the site production and maintenance work a large amount, so when the site information

It is difficult to completely rely on static Web page making in large time;

5

The interactive intersection of static Web pages has great limitations in terms of functionality

A Dynamic Web page corresponds to a static web page,

Other words

Web page

Url

The suffix is not

. htm

. html

. shtml

.

Xml

Common forms of static web pages, but

. asp

. jsp

. php

. perl

. CGI

The form is a suffix, and the

There is an iconic symbol in the Dynamic Web page URL

——“?”

, if there is a dynamic Web page with the address of

:

Http://ww

W.pagehome.cn/ip/index.asp?id=1

This is a typical dynamic web Page.

Url

Form. Here's the Move.

pages, and various animations on the web, scrolling subtitles and other visual

Dynamic effects

No direct relationship, Dynamic Web page

It can also be plain text content, or it can be a variety of animation content, These are just the manifestation of the content of the Web page

, Web pages created with Dynamic Web technologies are called Dynamic Web pages, regardless of whether the Web page is dynamic or Not.

We will briefly summarize the general features of the Dynamic Web page as Follows:

1

Dynamic Web page Based on database technology, can greatly reduce the workload of website maintenance;

2

Web sites that use Dynamic web technologies can achieve more features, such as user registration, user login, online surveys,

User management, Order management, etc.

2

3

A Dynamic Web page is not actually a Web page file that exists on the server independently, only when the user requests it

Returns a full page;

4

) in the Dynamic Web page

Search engine retrieval has certain problems, search engine is generally impossible from a website

Database to access all pages, or for technical reasons, search spiders don't crawl URLs

Behind

content, so the use of Dynamic Web site in the search engine to promote the need to do some technical processing to adapt to

Search Engine Requirements.

The difference between static Web pages and dynamic

(

I added: look at the

)

Whether the program is running on the server side is an important SIGN. Programs that run on the server side, Web pages,

components, which belong to dynamic Web pages that return different pages with different customers, at different times, such as

Asp

Php

Jsp

asp

Dg.

such as programs, Web pages, plug-ins, and components that run on the client, belong to static web pages, such as

Html

Page

Flash

Javascript

VBScript

wait, they're never going to Change.

The difference between a static web page and a Dynamic Web page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.