# 网页设计

**网页设计**是规划并制作网站视觉布局、结构和面向用户的行为的实践。它将视觉设计、信息架构、用户体验研究和前端开发整合为一套连贯的实践，旨在产出功能可用、易于理解且适合目标受众的界面；它借鉴人机交互研究、软件工程原则和图形传播理论，同时在很大程度上受万维网联盟（W3C）所制定标准的影响。<sup>[1](https://technav.ieee.org/topic/web-design/)</sup>

| 关键事实 | 详情 |
|---|---|
| 第一个网站 | info.cern.ch，由蒂姆·伯纳斯-李（Tim Berners-Lee）在CERN创建，于1991年8月6日上线，运行在一台NeXT计算机上<sup>[2](https://home.cern/science/computing/the-birth-of-the-web/short-history-web/)</sup><sup> • </sup><sup>[3](https://www.guinnessworldrecords.com/world-records/first-website)</sup> |
| 标准组织 | W3C由蒂姆·伯纳斯-李于1994年10月在麻省理工学院计算机科学实验室与CERN合作创立<sup>[4](https://www.w3.org/about/history/)</sup> |
| 无障碍标准 | 《网页内容无障碍指南》（WCAG）于1999年首次发布；WCAG 2.0于2008年12月成为W3C推荐标准，WCAG 2.1是对2.0的扩展<sup>[5](https://www.itpro.com/business/business-strategy/what-are-the-web-content-accessibility-guidelines-wcag-and-are-they-being-followed)</sup><sup> • </sup><sup>[6](https://www.w3.org/TR/WCAG21/?so=1)</sup> |
| 页面体积增长 | 首页体积中位数从2014年10月的桌面端1,208 KB、移动端505 KB，增长到2025年7月的2,862 KB和2,559 KB<sup>[7](https://almanac.httparchive.org/en/2025/page-weight)</sup> |
| 内容复杂度 | Alexa排名前100的网站中，不同MIME类型从1998年的约19种增加到2021年的113种，增长超过五倍<sup>[8](https://arxiv.org/abs/2202.08239)</sup> |
| 电子商务可用性 | 在贝马德研究所（Baymard）对180多个电商网站的基准测试中，64%的桌面端网站在结账用户体验上被评为“平庸”或更差，约70%的电商用户在将商品加入购物车后放弃购买<sup>[9](https://baymard.com/research-articles/current-state-of-checkout-ux)</sup> |
| AI采用情况 | 在Squarespace 2026年的一项调查中，使用AI为客户建站的设计师有88%报告了积极影响，46%曾使用AI工具协助建站<sup>[10](https://pros.squarespace.com/web-design-industry-report)</sup> |

## 历史

第一个网站info.cern.ch由CERN的英国科学家[蒂姆·伯纳斯-李](https://www.edgepedia.org/zh/tim-berners-lee)创建，他于1989年发明了[万维网](https://www.edgepedia.org/zh/world-wide-web)。该网站运行在一台NeXT计算机上，包含指向万维网项目本身相关信息的链接，其中包括超文本的描述和创建网页服务器的技术细节；第一个浏览器还具备在浏览器内部修改页面的能力，这是最早的网页编辑功能。<sup>[2](https://home.cern/science/computing/the-birth-of-the-web/short-history-web/)</sup> 1993年，CERN将万维网背后的软件放入公有领域。<sup>[11](https://apnews.com/article/4554c83f661a53a8efa43bff3b62c253)</sup>

**设计实践的各个时代。** 网页设计经历了几个截然不同的时期：1990年代，基于文本的HTML、表格布局，整站体积不足1 MB；2000年代初，Flash动画、固定宽度布局和800x600分辨率标准；2000年代末，基于[CSS](https://www.edgepedia.org/zh/css)的设计、[Web 2.0](https://www.edgepedia.org/zh/web-2-0)渐变与倒影效果、社交媒体集成；2010年代，响应式设计、移动优先方法、扁平化设计和视差滚动；2020年代，极简主义、深色模式、无障碍关注、AI驱动的个性化和类应用交互。<sup>[12](https://cliquestudios.com/university/resources/history-web-design)</sup> 早期页面是静态HTML；此后网页已转向动态的、多媒体丰富的页面。<sup>[8](https://arxiv.org/abs/2202.08239)</sup>

**结构与样式的分离。** 一个决定性的技术转变是层叠样式表（CSS）的采用，CSS于1996年首次发布。<sup>[13](https://www.evl.uic.edu/datsoupi/421_14/docs/week1.pdf)</sup> 随着CSS的引入，基于表格的布局被认为已经过时，CSS允许通过样式表而非标记来控制布局、定位、分层和对齐。<sup>[14](https://sgr.unisced.edu.mz/bitstream/123456789/1628/1/design_your_imagination.pdf)</sup><sup> • </sup><sup>[15](https://www.w3.org/TR/WCAG10-CSS-TECHS/)</sup> W3C的指导原则长期以来建议作者设计文档时使其在没有样式表的情况下也有意义，按逻辑顺序编写，然后再应用样式表实现视觉效果。<sup>[15](https://www.w3.org/TR/WCAG10-CSS-TECHS/)</sup> 一旦Opera等浏览器对CSS和HTML提供了合理水平的支持，开发者和设计师就能放心地按照Web标准进行设计，因为他们知道网站能在多个浏览器中正常工作。<sup>[16](https://www.w3.org/wiki/The_history_of_the_Web)</sup>

## 核心技术与标准

网页由三种前端、客户端技术构建：HTML负责结构，CSS负责呈现，[JavaScript](https://www.edgepedia.org/zh/javascript)负责行为，全部由浏览器运行。<sup>[17](https://developer.mozilla.org/en-US/docs/Learn_web_development/Getting_started/Web_standards/The_web_standards_model)</sup> 页面加载时，浏览器将HTML转换为DOM树，应用CSS生成渲染树，并在最终渲染完成前解析和执行JavaScript。<sup>[18](https://developer.mozilla.org/en-US/docs/Learn_web_development/Getting_started/Web_standards/How_browsers_load_websites)</sup>

标准由W3C维护——该组织自1996年起制定标准——以及由WHATWG（网页超文本应用技术工作组）维护，后者包括苹果、谷歌、Mozilla和微软，自2004年起运作。<sup>[19](https://www.techradar.com/pro/coders-are-slacking-when-it-comes-to-web-standards-and-that-simply-wont-do-in-the-ai-age)</sup> 对这些标准的遵从程度参差不齐：由法国开发者泰奥·迪克勒（Théo Ducreux）运营的独立项目ValidateHTML，将Tranco前5000网站列表中的5000个域名提交给HTML5验证工具，发现拥有人类可读首页的网站中略多于一半未能通过W3C和WHATWG制定的HTML标准，这反映出网站以“足够好”为标准发布，因为现代浏览器会修复大多数编码错误。<sup>[19](https://www.techradar.com/pro/coders-are-slacking-when-it-comes-to-web-standards-and-that-simply-wont-do-in-the-ai-age)</sup>

## 无障碍

无障碍是网页设计的核心关切。《网页内容无障碍指南》于1999年首次发布，主要面向残障人士，但也惠及所有用户，在推行通用设计标准、确保网页在各类设备上可用方面发挥了重要作用。<sup>[5](https://www.itpro.com/business/business-strategy/what-are-the-web-content-accessibility-guidelines-wcag-and-are-they-being-followed)</sup> 遵循WCAG 2.1可使内容更易于被盲人和低视力者、聋人和听力损失者、行动受限者、言语障碍者、光敏感者以及兼有上述多种情况的人群使用，并对学习障碍和认知限制提供一定的适配，尽管它并未涵盖所有用户需求。<sup>[6](https://www.w3.org/TR/WCAG21/?so=1)</sup> WCAG 3.0正在开发中，作为后继版本，围绕与功能限制相关的核心要求和补充要求来组织。<sup>[20](https://www.w3.org/TR/wcag3/)</sup>

W3C的网页无障碍倡议区分了无障碍、可用性和包容性，并指出在开发的后期阶段处理无障碍问题会变得越来越困难，因此在早期原型中应用无障碍原则有助于团队从一开始就提供基本的无障碍性。<sup>[21](https://www.w3.org/WAI/fundamentals/accessibility-usability-inclusion/)</sup> 评估结合自动化工具与人工判断：网页无障碍评估工具可以帮助快速识别潜在问题，但无法判定无障碍性，只能辅助判断，因为有些检查无法自动化，工具也可能产生虚假或误导性的结果。<sup>[22](https://wai-website.netlify.app/test-evaluate/tools/selecting/)</sup> W3C的指导原则同样建议将用户参与——包括让残障人士在原型上完成示例任务——与[评估](https://www.edgepedia.org/zh/evaluation)WCAG符合性结合起来。<sup>[23](https://www.w3.org/WAI/test-evaluate/involving-users/)</sup>

## 响应式设计与性能

**响应式设计**使单一网站无需单独版本即可在手机、平板和桌面上运行。<sup>[12](https://cliquestudios.com/university/resources/history-web-design)</sup> HTML本质上是响应式的：仅包含HTML的页面在窗口调整大小时会重排文本以适应视口。现代CSS布局方法天然具有响应性，自伊桑·马科特（Ethan Marcotte）发表关于此主题的文章以来，Web平台增加了许多功能使响应式网站更易实现，包括媒体查询——它根据视口宽度等测试有选择地应用CSS。<sup>[24](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/CSS_layout/Responsive_Design)</sup> 视口元标签的存在是因为早期移动浏览器遇到未针对移动端优化的网站时，默认使用980像素的视口宽度并显示桌面布局的缩小版本。<sup>[24](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/CSS_layout/Responsive_Design)</sup>

性能被视为设计质量的一部分。谷歌的[核心网页指标](https://www.edgepedia.org/zh/core-web-vitals)（Core Web Vitals）是涵盖加载、交互性和视觉稳定性的网页性能指标，于2020年推出，并在2021年成为搜索排名信号。<sup>[25](https://cdn.httparchive.org/almanac/ebooks/web_almanac_2022_en.pdf)</sup> 2024年《Web年鉴》报告了许多性能指标的积极趋势，但高端与低端设备之间的差距在扩大，尤其是在移动网页性能方面，移动端与桌面端体验之间仍存在很大差异。<sup>[26](https://almanac.httparchive.org/en/2024/performance)</sup> 页面体积持续增长：首页体积中位数从2014年10月的桌面端1,208 KB、移动端505 KB增长到2025年7月的2,862 KB和2,559 KB，桌面端加载产生的请求始终多于移动端加载。<sup>[7](https://almanac.httparchive.org/en/2025/page-weight)</sup>

## 实践中的可用性

可用性研究量化了设计选择如何影响结果。贝马德研究所（Baymard Institute）已进行大规模结账可用性测试长达16年，其在对180多个领先电商网站的基准测试中发现，64%的桌面端网站、63%的移动端网站和46%的应用在结账用户体验上被评为“平庸”或更差，结账设计和流程常常是用户放弃购物车的唯一原因，约70%的电商用户在将商品加入购物车后放弃购买。其研究进一步表明，大型电商网站平均仅通过对结账流程进行设计更改，就能获得高达35%的转化率提升。<sup>[9](https://baymard.com/research-articles/current-state-of-checkout-ux)</sup>

## AI与当前状况

AI工具改变了网站的生产方式。在Squarespace《2026年网页设计行业状况》调查中，81%的受访设计师在2025年使用AI进行内容创作，高于前一年的75%；46%曾使用AI工具协助建站；在为客户网站采用AI的设计师中，88%报告了对网页设计流程的积极影响。情绪是复杂的：对AI作用的悲观情绪从2024年的25%上升到2025年的31%，不过使用过AI的设计师往往对其更为乐观。<sup>[10](https://pros.squarespace.com/web-design-industry-report)</sup> 行业评论指出，AI降低了创建网站的门槛，但代理机构仍需负责托管、安全、身份验证、支付、基础设施和长期维护，而这些正是技术债务积累之处。<sup>[27](https://www.techradar.com/pro/i-often-compare-ai-to-an-exceptionally-talented-intern-how-web-agencies-can-scale-value-beyond-the-time-based-model)</sup>

## References

1. [Web design, IEEE Technology Navigator](https://technav.ieee.org/topic/web-design/)
2. [A short history of the Web, CERN](https://home.cern/science/computing/the-birth-of-the-web/short-history-web/)
3. [First website, Guinness World Records](https://www.guinnessworldrecords.com/world-records/first-website)
4. [History, About us, W3C](https://www.w3.org/about/history/)
5. [What are the Web Content Accessibility Guidelines (WCAG) and are they being followed?, IT Pro](https://www.itpro.com/business/business-strategy/what-are-the-web-content-accessibility-guidelines-wcag-and-are-they-being-followed)
6. [Web Content Accessibility Guidelines (WCAG) 2.1, W3C](https://www.w3.org/TR/WCAG21/?so=1)
7. [Page Weight, 2025 Web Almanac by HTTP Archive](https://almanac.httparchive.org/en/2025/page-weight)
8. ["Way back then": A Data-driven View of 25+ years of Web Evolution, arXiv](https://arxiv.org/abs/2202.08239)
9. [Checkout UX Best Practices 2025, Baymard Institute](https://baymard.com/research-articles/current-state-of-checkout-ux)
10. [State of the Web Design Industry 2026, Squarespace Circle](https://pros.squarespace.com/web-design-industry-report)
11. [Mysteries of universe revealed? Hardly. But CERN still fascinates, AP News](https://apnews.com/article/4554c83f661a53a8efa43bff3b62c253)
12. [The History of Web Design: 1989 to Today, Clique Studios](https://cliquestudios.com/university/resources/history-web-design)
13. [HTML Evolution by Badr, UIC course document](https://www.evl.uic.edu/datsoupi/421_14/docs/week1.pdf)
14. [History of web design, UNISCED course document](https://sgr.unisced.edu.mz/bitstream/123456789/1628/1/design_your_imagination.pdf)
15. [CSS Techniques for Web Content Accessibility Guidelines 1.0, W3C](https://www.w3.org/TR/WCAG10-CSS-TECHS/)
16. [The history of the Web, W3C Wiki](https://www.w3.org/wiki/The_history_of_the_Web)
17. [The web standards model, MDN Learn web development](https://developer.mozilla.org/en-US/docs/Learn_web_development/Getting_started/Web_standards/The_web_standards_model)
18. [How browsers load websites, MDN Learn web development](https://developer.mozilla.org/en-US/docs/Learn_web_development/Getting_started/Web_standards/How_browsers_load_websites)
19. [Coders are slacking when it comes to web standards, TechRadar](https://www.techradar.com/pro/coders-are-slacking-when-it-comes-to-web-standards-and-that-simply-wont-do-in-the-ai-age)
20. [W3C Accessibility Guidelines (WCAG) 3.0, W3C](https://www.w3.org/TR/wcag3/)
21. [Accessibility, Usability, and Inclusion, W3C WAI](https://www.w3.org/WAI/fundamentals/accessibility-usability-inclusion/)
22. [Selecting Web Accessibility Evaluation Tools, W3C WAI](https://wai-website.netlify.app/test-evaluate/tools/selecting/)
23. [Involving Users in Evaluating Web Accessibility, W3C WAI](https://www.w3.org/WAI/test-evaluate/involving-users/)
24. [Responsive web design, MDN Learn web development](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/CSS_layout/Responsive_Design)
25. [The 2022 Web Almanac by HTTP Archive](https://cdn.httparchive.org/almanac/ebooks/web_almanac_2022_en.pdf)
26. [Performance, 2024 Web Almanac by HTTP Archive](https://almanac.httparchive.org/en/2024/performance)
27. ['I often compare AI to an exceptionally talented intern', TechRadar](https://www.techradar.com/pro/i-often-compare-ai-to-an-exceptionally-talented-intern-how-web-agencies-can-scale-value-beyond-the-time-based-model)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Web development and web-platform technologies

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/web-design

English original: https://www.edgepedia.org/web-design
