Chinese-translation-of-ebooks_html/css_WEB-ITnose
网络服务器
Up until this point in the book, you have been opening web pages in the browser directly from the file system. Obviously, if you intend your web pages to be viewed by others, you need to make them available over a network. The software used for exposing web pages over a net-work is a web server. 读到书中的这里,你已经可以在文件系统中直接使用浏览器打开网页了。很明显,如果你打算让你的网页被别人浏览到,你需要把这些网页放在一个可以访问的网络上。网络服务器就是一个用于在网络上暴露网页的软件!
The term “web server” can either denote the hardware of the underlying server or the software running on that server. For the purposes of this lesson, the term “web server” will be used to denote the software, whereas “server” will be used to denote the hardware this software runs on. 这个术语“网络服务器” 既可以表示底层服务器的硬件,也可以表示运行在服务器上的软件。基于本课的目的,这个术语“网络服务器” 将会被用于指代软件,反之“服务器”将会被用于指代运行该软件的硬件。
The primary purpose of a web server is to expose a set of resources from the file system of a network enabled server via protocols such as HTTP and HTTPS.Resources are typically files such as HTML pages, images, and CSS files, to video and audio files. 一个网络服务器的首要目的就是通过HTTP,HTTPS之类的网络协议,暴露一组位于启用网络服务的服务器的文件系统上的资源。这些资源都是典型的文件,例如 HTML页面,图片,CSS文件,音频和视频文件。
NOTE This view is slightly simplistic because many resources in real-world web applications are dynamically generated and therefore do not exist on a physical file system, but you will ignore this complication for the most part.
注释 这个观点是稍微简单化的,毕竟在真实世界里的网络应用程序的很多资源是动态生成的, 因此不存在一个物理的文件系统,然而大多数情况下你将会忽略复杂的部分。 (然而你将会忽略它复杂的大部分。)

热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

AI Hentai Generator
免费生成ai无尽的。

热门文章

热工具

记事本++7.3.1
好用且免费的代码编辑器

SublimeText3汉化版
中文版,非常好用

禅工作室 13.0.1
功能强大的PHP集成开发环境

Dreamweaver CS6
视觉化网页开发工具

SublimeText3 Mac版
神级代码编辑软件(SublimeText3)

热门话题

本文讨论了HTML< Progress>元素,其目的,样式和与< meter>元素。主要重点是使用< progress>为了完成任务和LT;仪表>对于stati

本文讨论了html< datalist>元素,通过提供自动完整建议,改善用户体验并减少错误来增强表格。Character计数:159

本文讨论了HTML< meter>元素,用于在一个范围内显示标量或分数值及其在Web开发中的常见应用。它区分了< meter>从< progress>和前

本文讨论了使用HTML5表单验证属性,例如必需的,图案,最小,最大和长度限制,以直接在浏览器中验证用户输入。

本文解释了HTML5< time>语义日期/时间表示的元素。 它强调了DateTime属性对机器可读性(ISO 8601格式)的重要性,并在人类可读文本旁边,增强Accessibilit

本文讨论了视口元标签,这对于移动设备上的响应式Web设计至关重要。它解释了如何正确使用确保最佳的内容缩放和用户交互,而滥用可能会导致设计和可访问性问题。

本文讨论了< iframe>将外部内容嵌入网页,其常见用途,安全风险以及诸如对象标签和API等替代方案的目的。
