跳到主要内容
编程入门 — Python, Java, C, SQL & Web

网页基础 —— HTML 与 CSS

从零开始,一步一步,做出真正的网页。

  • html
  • 21 课程
  • 19 videos
  • 在浏览器中运行

此设备:完成 0 / 21 门课程

开始课程

每节课均在浏览器中运行——编写真实代码,点击运行,任务自动检查。免费,无需账户,配有与英文对照的翻译笔记。

本课程中的课程

显示 25 / 25 门课程

  1. 你的第一个网页 Welcome to the web · How this page works · Tags wrap your words · More than one paragraph Lesson 1 · 3 项必做任务 · ★ 视频
  2. Headings and paragraphs Headings · Six sizes Lesson 2 · 3 项必做任务 · ★ 视频
  3. Bold, italic and line breaks Make words stand out · Line breaks Lesson 3 · 3 项必做任务 · ★ 视频
  4. 列表 Numbered lists Lesson 4 · 3 项必做任务 · ★ 视频
  5. 链接 href is an attribute Lesson 5 · 3 项必做任务 · ★ 视频
  6. 图片 Why alt text matters Lesson 6 · 3 项必做任务 · ★
  7. Make it a real page A real web page · The four parts · The title shows in the tab Lesson 7 · 3 项必做任务 · ★★ 视频
  8. Comments and neat nesting Comments · Tags go inside tags Lesson 8 · 3 项必做任务 · ★ 视频
  9. 表格 细胞 Lesson 9 · 3 项必做任务 · ★★ 视频
  10. 形成 Labels and buttons Lesson 10 · 3 项必做任务 · ★★ 视频
  11. Boxes and sections Named sections · Classes name your boxes Lesson 11 · 3 项必做任务 · ★★ 视频
  12. Add some style Adding style · A CSS rule Lesson 12 · 3 项必做任务 · ★
  13. Selectors — class and id Three kinds of selector · By class and by id Lesson 13 · 3 项必做任务 · ★★ 视频
  14. Colours and backgrounds Colours · Backgrounds Lesson 14 · 3 项必做任务 · ★★ 视频
  15. 文字样式 Sizing text · Aligning text Lesson 15 · 3 项必做任务 · ★★ 视频
  16. 盒模型 Every box has layers · Padding and border Lesson 16 · 3 项必做任务 · ★★ 视频
  17. Spacing — margin and padding Space between boxes · One side at a time Lesson 17 · 3 项必做任务 · ★★ 视频
  18. Showing and hiding (display) How boxes flow · display: none Lesson 18 · 3 项必做任务 · ★★ 视频
  19. 宽度与居中 Width · Centering a box Lesson 19 · 3 项必做任务 · ★★ 视频
  20. Rows with Flexbox Putting boxes in a row · Spacing them out Lesson 20 · 3 项必做任务 · ★★★ 视频
  21. 小项目:个人名片 Your mini-project · What you've learned · Build your card Lesson 21 · 3 项必做任务 · ★★★★ 视频

阅读与资源

  1. 网络简史 网络从哪里来 · 第一个网页 · HTML 是它的语言 · 今天的网络 阅读与资源
  2. 网页是由什么组成的 三个简单的部分 · 先 HTML,再 CSS · 先尝一小口 · 浏览器把它们组合起来 阅读与资源
  3. 去哪里学更多 你不需要很多 · 免费的学习网站 · 怎么用它们 · 不停地做 阅读与资源
  4. 你需要什么(几乎不用) 好消息:什么都不用装 · 编辑器怎么用 · 以后,在你自己的电脑上 · 准备好了吗? 阅读与资源
Open the Html reference Every topic in one place, with short examples you can run.

深入学习入口

登录或创建账户

IGCSE, A-Level & AP