什么是网页
The Internet is the most popular and crowded network in the world. The Internet provides different services, applications. The webpage is the most popular service or application provided by the internet. The webpage provides content on different topics. In a technical way, Webpage consists of different technologies like HTML, JavaScript, XML, Picture, Video, etc.
互联网是世界上最流行,最拥挤的网络。 互联网提供不同的服务,应用程序。 该网页是互联网提供的最受欢迎的服务或应用程序。 该网页提供了有关不同主题的内容。 从技术上讲,网页包含不同的技术,例如HTML,JavaScript,XML,图片,视频等。
网页 (Web Page)
Well, this is a web page provided by Poftut.com. There are a lot of web pages on the internet. Some web pages only contain text where some only images. But in general web pages provides a different type of contents like text, image, video, ads, etc. We can access a web page by using its URL. Web pages are served by web server software to the client browsers.
好的,这是Poftut.com提供的网页。 互联网上有很多网页。 一些网页仅包含文本,而某些仅包含图像。 但是一般而言,网页提供了不同类型的内容,例如文本,图像,视频,广告等。我们可以使用其URL访问网页。 Web服务器软件将网页提供给客户端浏览器。
网页技术 (Web Page Technologies)
Web pages may seem simple but it was in the 1990s. The popularity and demand for web pages and its content created a lot of basic and advanced technologies. Here some of them.
网页看似简单,但这是在1990年代。 网页及其内容的流行和需求创造了许多基本和先进的技术。 这里有一些。
- Web Server 网络服务器
- Browser浏览器
- HTTPHTTP
- HTML HTML
- JavaScript JavaScript
- CSS CSS
- Image/Video 图片/视频
- PHP, Java, C#, Python, etc.PHP,Java,C#,Python等
网络服务器(Web Server)
Web Server is an important part of a web page lifecycle. Web Servers are used to create web pages dynamically or statically. They simply serve web pages to the client’s browsers over the HTTP or more secure HTTPS protocol. There are different web servers but most popular of them are Apache HTTP Server, IIS Server, Nginx, Lighttpd. Web Server reads the web page code, image/video, and provides by using the HTTP protocol.
Web服务器是网页生命周期的重要组成部分。 Web服务器用于动态或静态创建网页。 它们只是通过HTTP或更安全的HTTPS协议将网页提供给客户端的浏览器。 有许多不同的Web服务器,但最流行的是Apache HTTP Server,IIS Server,Nginx,Lighttpd。 Web服务器读取网页代码,图像/视频,并使用HTTP协议提供。
HTTP (HTTP)
Hypertext Transfer Protocol is a protocol designed to transfer web pages and its contents over the network and internet. The HTTP protocol provides some metadata and content like HTML, JavaScript, Image/Video as network packets. HTTP is nor fully secure protocol that can be intercepted. So secure version of HTTP named HTTPS is developed to encrypt HTTP traffic with SSL.
超文本传输协议是一种旨在通过网络和Internet传输网页及其内容的协议。 HTTP协议提供一些元数据和内容,例如HTML,JavaScript,图像/视频作为网络数据包。 HTTP也不是可以被拦截的完全安全的协议。 因此,开发了名为HTTPS的安全HTTP版本,以使用SSL加密HTTP通信。
浏览器 (Browsers)
Browsers are another important part of the Web Page. Browsers are used to display the web page and its contents properly. Browsers get the web page HTML, JavaScript, CSS, Image/Video content from Web Server via HTTP. Then displays the HTML as the main structure by adding CSS, Image/Video, and runs JavaScript for general events and for different user actions. The most popular browsers are Google Chrome, Mozilla Firefox, Microsoft Edge/Explorer, Opera, Safari, etc.
浏览器是网页的另一个重要部分。 浏览器用于正确显示网页及其内容。 浏览器通过HTTP从Web Server获取网页HTML,JavaScript,CSS,图像/视频内容。 然后通过添加CSS,图像/视频将HTML显示为主要结构,并针对常规事件和不同的用户操作运行JavaScript。 最受欢迎的浏览器是Google Chrome,Mozilla Firefox,Microsoft Edge / Explorer,Opera,Safari等。
HTML (HTML)
Hypertext Markup Language or HTML is a defacto markup language used to define the web page and its contents. Below we can see a webpage where is provides HTML code.
超文本标记语言或HTML是用于定义网页及其内容的事实上的标记语言。 在下面我们可以看到一个提供HTML代码的网页。
JavaScript (JavaScript)
JavaScript is a scripting language that runs on the Browser. JavaScript provides some action and dynamism to the web pages. JavaScript adds actions like button click, check input, animations, etc. Here is a JavaScript which is used a lazy load for images in the lower part of a web page.
JavaScript是一种在浏览器上运行的脚本语言。 JavaScript为网页提供了一些动作和动力。 JavaScript添加了诸如单击按钮,检查输入,动画等操作。这是一个JavaScript,用于对网页下部的图像进行延迟加载。
CSS (CSS)
Cascade Style Sheet or CSS is used to set visuality and visual properties of the HTML elements. For example, the font of the headers can be set with some CSS code. Today most of the web design relies on the CSS in order to make webpages more attractive. We can see in the following screenshot that visual attributes lie margin, padding, vertical-align, font-size, etc. is specified in CSS.
级联样式表或CSS用于设置HTML元素的外观和视觉属性。 例如,可以使用一些CSS代码设置标题的字体。 今天,大多数网页设计都依靠CSS来使网页更具吸引力。 我们可以在下面的屏幕截图中看到,视觉属性包括边距,填充,垂直对齐,字体大小等,均在CSS中指定。
PHP,Java,C#,Python等。编程语言 (PHP, Java, C#, Python, etc. Programming Languages)
At the start of the WWW, the web pages were static which means all the content is created statically one by one. But with the advance of the web technologies web pages can be created dynamically with different programming languages like PHP, Java, Python, C#, etc. These programming languages can create HTML web pages with different contents where some content can be stored in databases.
在WWW开始时,网页是静态的,这意味着所有内容都是一一静态创建的。 但是随着Web技术的发展,可以使用不同的编程语言(例如PHP,Java,Python,C#等)动态创建网页。这些编程语言可以创建具有不同内容HTML网页,其中一些内容可以存储在数据库中。
什么是网页