朽木自雕XD

导航

第一周实训

前端笔记

1.B/S架构

B是browser(浏览器也被称为客户端) 包括所有浏览器网页,移动app,小程序等等,S是serve(服务器),B端发起请求,S端收到请求后会把对应的信息发送给B端,B端拿到信息或者代码后,由浏览器进行解析。

2.HTML基础标签

!DOCTYPE html>
<html><!-- 开标签 -->
<head><!-- 头部 -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- meta是元标签,无实际意义,等号左边是属性,右边是属性值
chatset:编码格式
utf-8:几乎包涵了两百多种语言里的所有字符 -->
<!-- GB-2312国家标准
GBK国家标准扩展包 -->
<title>hello world</title>
</head>
<body><!-- 主体 -->
<div>无实意标题</div>
<h1>一级标题</h1>
<h2>二级标题</h2>
<h3>三级标题</h3>
<h4>四级标题</h4>
<h5>五级标题</h5>
<h6>六级标题</h6>
<p>段落标签</p>
<img src="http://cms-bucket.ws.126.net/2021/1101/30942773j00r1vh8c00pec001e000goc.jpg">
<input type="text" name="">
<input type="number" name="">
<input type="password" name="">
<input type="radio" name="gender">男
<input type="radio" name="gender">女
<br>
兴趣爱好:
<input type="checkbox" name="">玩游戏
<input type="checkbox" name="">睡觉
<input type="checkbox" name="">学习
<ul type="square">
<!-- 无序列表 -->
<li>aaaaa</li>
<li>bbbbb</li>
<li>ccccc</li>
</ul>
<ol>
<li>aaaaa</li>
<li>bbbbb</li>
<li>ccccc</li>
</ol>
<a href="https://www.baidu.com/">百度一下</a>
</body>
</html><!-- 闭标签 -->

 

posted on 2021-11-08 22:09  朽木自雕XD  阅读(40)  评论(0编辑  收藏  举报