Files
ClassContent/历届学生/zheng-yuqing/每天上课/2022-04-18/笔记.txt
2024-09-27 02:06:13 +08:00

120 lines
2.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

git 代码版本控制系统
作者:
linux linus
git github web网站
开源
代码回滚
v1
v2
v3
仓库:
本地仓库
远程仓库
自己服务器搭建 git
github 全球最大的代码仓库 卖个微软 7亿美元 gitee coding
gitlab
公共仓库
私有仓库
分支:
dev 开发
test 测试
prod 正式
git init 初始化一个本地仓库
git add 选中文件 (暂存)文件名1 文件名1 xxx ....
git add -A 选中全部
git commit -m "备注的内容" 设置此次的上传备注
git pull 拉取(下载)
git push 上传 推送
git remote add origin https://gitee.com/bmycode/zheng-yuqing.git
web 开发(网站开发)
前端 负责界面,特效,功能,数据展示
html css js
后端 负责数据,安全,接口,服务器
java,php,nodejs,python,go,c#...
web 前端
html 超文本标签标记语言 人的骨骼
绘制网页的基本布局
css 层叠样式表 人的外表
美化网站的
js 运行在浏览器的脚本语言 人的思想
第一阶段 远古阶段 (html + css)
第二阶段 jquery
Node.js
第三阶段 三大框架
手机,pc网站,android ios app,桌面应用,后端,操作系统
meta
ul 重复性布局
div 一般用画网页的结构
标签分两类:
块标签
会独占一行的标签(默认宽度100%),可以通过css设置宽高属性
p h1 ~ h6 ul li div
行标签
不会独占一行的标签(默认宽度是被内容撑开的),不可以通过css设置宽高属性
img a input textarea span
在对网站进行画结构的时候要注意:
1:按照功能来划分div
2:按照分割线来画风div
3: 遵守网站的三要素 头部(header) 中间内容(content) 底部版权(footer)
注意:div 可以 替代 p 标签的所有场景
div内如果只有一个标签,那么div可以删除
作业:
https://www.readnovel.com/ 实现他的html结构和细节
https://www.ithome.com/