From 560f3dd627d2973b79f9be98d4f8d255c9abad1d Mon Sep 17 00:00:00 2001 From: many2many <6168830@qq.com> Date: Sun, 15 Sep 2024 19:53:11 +0800 Subject: [PATCH] changed --- README.md | 2 +- docs/chapter02.md | 24 ++++++++++++++++------- docs/index.md | 2 +- docs/resources/imgs/grumpy-cat-small.png | Bin 0 -> 8330 bytes 4 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 docs/resources/imgs/grumpy-cat-small.png diff --git a/README.md b/README.md index 25f74e5..4a96dd3 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ #### 2.1.5 HTTP请求头 #### 2.1.6 HTTP响应包结构 #### 2.1.7 HTTP状态码 -#### 2.1.8 HTTP请求头 +#### 2.1.8 HTTP响应头 #### 2.1.9 Cookie #### 2.1.10 Session diff --git a/docs/chapter02.md b/docs/chapter02.md index c59abde..4318860 100644 --- a/docs/chapter02.md +++ b/docs/chapter02.md @@ -89,7 +89,7 @@ URL示例分析: - **5xx 服务器错误:** 服务器在处理请求的过程中发生了错误。 - **500 Internal Server Error:** 服务器遇到某种不可预知的情况。 - **503 Service Unavailable:** 由于临时的服务器维护或者过载,服务器当前无法处理请求。 -#### 2.1.8 HTTP请求头 +#### 2.1.8 HTTP响应头 [HTTP Response Header 响应头](https://stackoverflow.org.cn/httpheader/) #### 2.1.9 Cookie @@ -150,16 +150,26 @@ Session表示会话,服务器端用来跟踪用户状态的一种机制。在jav #### 2.2.1 HTML5基础知识 (掌握) [HTML常用知识点总结笔记](https://blog.csdn.net/qq_42002794/article/details/118356086) +[使用 HTML 构建 Web](https://developer.mozilla.org/zh-CN/docs/Learn/HTML) + +HTML(HyperText Markup Language,超文本标记语言)是一种用来告知浏览器如何组织页面的标记语言。 +HTML 由一系列的元素组成,这些元素可以用来包围或标记不同部分的内容,使其以某种方式呈现或者工作 + +HTML 元素(标签): +![](./resources/imgs/grumpy-cat-small.png) + +这个元素的主要部分有: + ``` + 开始标签(Opening tag):包含元素的名称(本例为 p),被左、右角括号所包围。开头标签标志着元素开始或开始生效的地方。在这个示例中,它在段落文本的开始之前。 + 内容(Content):元素的内容,本例中就是段落的文本。 + 结束标签(Closing tag):与开始标签相似,只是其在元素名之前包含了一个斜杠。这标志着该元素的结束。没有包含关闭标签是一个常见的初学者错误,它可能会产生奇特的结果。 +``` + #### 2.2.2 CSS3样式和布局 (了解) [CSS基础知识整理](https://zhuanlan.zhihu.com/p/68801601) -- **选择器:** 更强大的选择器,如属性选择器、伪类选择器等。 -- **盒模型:** 支持`box-sizing`属性来控制元素的尺寸计算方式。 -- **背景与边框:** 圆角边框、阴影、渐变背景等。 -- **文字效果:** 文字阴影、多列布局等。 -- **布局:** 弹性盒子(Flexbox)和网格布局(Grid)。 -- **动画与过渡:** 使用`transition`和`animation`属性创建平滑的视觉效果。 +[学习使用 CSS 为 HTML 添加样式](https://developer.mozilla.org/zh-CN/docs/Learn/CSS) #### 2.2.3 JavaScript基本语法和DOM操作(掌握) - **变量声明:** `var`、`let`、`const`。 diff --git a/docs/index.md b/docs/index.md index 25f74e5..4a96dd3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -29,7 +29,7 @@ #### 2.1.5 HTTP请求头 #### 2.1.6 HTTP响应包结构 #### 2.1.7 HTTP状态码 -#### 2.1.8 HTTP请求头 +#### 2.1.8 HTTP响应头 #### 2.1.9 Cookie #### 2.1.10 Session diff --git a/docs/resources/imgs/grumpy-cat-small.png b/docs/resources/imgs/grumpy-cat-small.png new file mode 100644 index 0000000000000000000000000000000000000000..cdb49d28602659572dd9652b348403ae3b8724a9 GIT binary patch literal 8330 zcmc(EWmptY)94ZsN{S#N;?hbkvC>^j*V0`JEZyC(f|Sy&G%UU3k|Gk)wZsZYgObvq zz~}qk=l=Nq-amJK%$YN1;+Zq^JZH{1aatNmqz~yH0ssI~Wr(~E0DuSnN8c0S{RdYP zeEnE_-`blgY1jw&9;AUuoooTL*fLH*5F|qw&(!iL6 zZ7g=A4c!U^N)Iezv17=XgdZv~sEDMqn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