Home  >  Article  >  What is a website?

What is a website?

青灯夜游
青灯夜游Original
2020-07-28 13:27:2314427browse

A website refers to a collection of web pages made using tools such as HTML to display specific content based on certain rules on the Internet; it is a host that has a domain name or address on the Internet and provides certain network services. It is a space for storing files, with the server as the carrier.

What is a website?

A website refers to a website made on the Internet according to certain rules using tools such as HTML (Standard Universal Markup Language) to display specific content. Collection of web pages. Simply put, a website is a communication tool through which people can publish information they want to make public, or use the website to provide related network services.

People can access the website through a web browser to obtain the information they need or enjoy network services; they can search for files, and upload and download website files through remote file transfer (FTP).

In the early days of the Internet, websites could only save simple text. After several years of development, images, sounds, animations, videos, and even 3D technology can be presented through the Internet. Through dynamic web technology, users can also communicate with other users or website administrators. Some websites also provide email services or online communication services.

Composition of website

In the early days, domain name, space server and program were the basic components of the website. With the continuous advancement of technology, The composition of websites is also becoming increasingly complex. Most websites are composed of domain names, space servers, DNS domain name resolution, website programs, databases, etc.

Domain Name

Domain Name is the name of a computer or computer group on the Internet consisting of a string of letters separated by dots. Used to identify the electronic location (sometimes geographical location) of a computer during data transmission, domain names have become one of the essential products for Internet brand and online trademark protection.

In layman's terms, a domain name is equivalent to a family's house number. Others can easily find you through this number.

Taking a common domain name as an example, the baidu URL is composed of two parts. The label "baidu" is the main domain name of this domain name, and the last label "com" is the suffix of the domain name, which represents This is a com international domain name, which is a top-level domain name. The www. in front is the network name and is the domain name of www.

DNS stipulates that the labels in domain names are composed of English letters and numbers. Each label cannot exceed 63 characters, and does not distinguish between uppercase and lowercase letters. No other punctuation marks can be used in labels except hyphens (-). The domain name with the lowest level is written on the far left, and the domain name with the highest level is written on the far right.

Space

Common website spaces: virtual host, virtual space, independent server, cloud host, VPS.

Virtual host allocates a certain amount of disk space on the network server for users to place sites, application components, etc.; it provides necessary site functions, data storage and transmission functions. The so-called virtual host, also called "website space", is to divide a server running on the Internet into multiple "virtual" servers. Each virtual host has an independent domain name and complete Internet server (supports WWW, FTP, E-mail, etc.) functions. Virtual hosting is the gospel of network development and has greatly promoted the application and popularization of network technology. At the same time, virtual host rental services have also become a new economic form in the Internet era. Renting a virtual host is similar to renting a house.

VPS refers to virtual private server, which is a technology that partitions a server into multiple virtual independent dedicated servers. Each virtual independent server using VPS technology has its own independent public IP address, operating system, hard disk space, memory space, CPU resources, etc. It can also perform operations such as installing programs and restarting the server, which is exactly the same as running an independent server. .

Program source code

The program is the programming language used to build and modify the website. If replaced by the source code, it is a bunch of words and symbols written in a certain format.

"For example, right-click on this webpage and select View Source File. A notepad will come out. The content inside is the source code of this webpage." This sentence reflects their relationship. The source here The file refers to the source code of the web page, and the source code is the content of the source file, so it can also be called the source code of the web page.

Source code refers to the original code, which can be any language code.

Assembly code refers to the compiled source code, usually binary files, such as DLL, EXE, .NET intermediate code, JAVA intermediate code, etc.

High-level languages ​​usually refer to C/C, BASIC, C#, JAVA, PASCAL, etc. Assembly language is ASM, the only one, and the lower level than this is machine language.

The browser is like a program compiler, it will help us translate the source code into what we see.

For more related knowledge, please visit: PHP Chinese website!

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

Statement:
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
Previous article:What is communication?Next article:What is communication?