# web2012 **Repository Path**: binah/web2012 ## Basic Information - **Project Name**: web2012 - **Description**: 第二阶段代码 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-01 - **Last Updated**: 2021-08-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #前段知识学习 ##实现网页HTML HTML超文本标记语言 和txt纯文本来比较 1)HTML网页可以表示文字、图片、视频、音频、动画 都是txt所无法表达 hello.html它里面只能写纯文字,这里就是通过很多标签来表达,浏览器会解析这些标签 以相应形式来展现。
有几个标签比较特殊,一个,结尾/>
1)点击工具栏上面箭头,浏览器chrome访问,以一个服务形式来访问
HbuilderX启动node服务,端口8848
http://127.0.0.1:8848/web2012/day01/01-hello.html
2)html静态页面,他可以直接使用浏览器打开
file://协议头,访问本地文件
file:///C:/2012/web2012/day01/01-hello.html
###实现第一个网页,HbuilderX提供两种方式
身体信息,网页上展示内容都应该写在这里