Web页面制作基础
说明:仅作为学习辅助
那么Web页面制作基础,能让你掌握什么呢?
第一节掌握Web基础知识。
第二节掌握HTML基础知识。
第三节掌握CSS基础知识。
image
web开发背景
命名规范
学习前端接触的web基础语言,HTML,CSS,JavaScript
Web基础知识
每次15分钟朗读:
URL的一般格式:
<pre class="public-DraftStyleDefault-pre" data-offset-key="bmavb-0-0" style="margin: 1.4em 0px; padding: 0.88889em; font-size: 0.9em; word-break: normal; overflow-wrap: normal; white-space: pre; overflow: auto; background: rgb(246, 246, 246); border-radius: 4px; color: rgb(26, 26, 26); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
<pre class="Editable-styled" data-block="true" data-editor="f4vgd" data-offset-key="bmavb-0-0" style="margin: 0px; padding: 0px; font-size: 0.9em; word-break: normal; overflow-wrap: normal; white-space: pre; overflow: initial; background: rgb(246, 246, 246); border-radius: 0px;">
协议://主机地址(ip地址)+目录路径+参数
</pre>
</pre>
常见的协议有:
a. ftp:File Transfer Protocol,文件传输协议,可以通过FTP访问服务器上的文件。通常使用时在主机地址前面加上“用户名:密码@”。
示例:
<pre class="public-DraftStyleDefault-pre" data-offset-key="ca9fe-0-0" style="margin: 1.4em 0px; padding: 0.88889em; font-size: 0.9em; word-break: normal; overflow-wrap: normal; white-space: pre; overflow: auto; background: rgb(246, 246, 246); border-radius: 4px; color: rgb(26, 26, 26); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
<pre class="Editable-styled" data-block="true" data-editor="f4vgd" data-offset-key="ca9fe-0-0" style="margin: 0px; padding: 0px; font-size: 0.9em; word-break: normal; overflow-wrap: normal; white-space: pre; overflow: initial; background: rgb(246, 246, 246); border-radius: 0px;">
url: ftp://admin:12345@113.129.xxx/html.pdf
</pre>
</pre>
b. file:主要访问本地计算机中的文件。
c. telent:允许用户通过一个协商过程与一个远程设备进行通信。
d. http:Hyper Text Transfer Protocol,超文本传输协议,是用于从万维网服务器传输超文本到本地浏览器的传输协议。
网站访问过程
image
url统一资源定位符
互联网上标准资源的地址,可以从互联网上得到的资源的位置和访问方法。
组成部分:协议,服务器地址,资源路径。
Web服务器可以解析HTTP协议,当Web服务器接收到一个HTTP请求时,会返回一个HTTP响应,客户端就可以从服务器上获取网页html,包括css,js,视频,音频等。
web系统开发过程
项目提出,需求分析,(设计,ui设计,系统设计),(开发,前端开发,后台开发),系统测试,开发与维护。
HTML基础知识
image
image
双标签:由“开始标签”和“结束标签”两部分构成,必须成对使用,且必须合理嵌套。 单标签:在开始标签中进行关闭(以开始标签的结束而结束)。