<!-- DOCTYPE:告诉浏览器,我们要使用什么规范 -->
<!DOCTYPE html>
<html>
<!-- head标签代表网页头部 -->
<head>
<!-- meta描述性标签,它用来描述网站的一些信息 -->
<!-- meta一般用来做SEO -->
<meta charset="utf-8">
<meta name="keywords" content="xc-java">
<meta name="description" content="随便看">
<!-- title网页标题 -->
<title></title>
</head>
<!-- body标签代表网页主体 -->
<body>
<!-- 段落标签 -->
<p>两只老虎</p>
<p>跑得快</p>
<!-- 水平线标签 -->
<hr/>
<!-- 换行标签 -->
两只老虎 <br/>
跑得快 <br/>
<!-- 粗体 斜体 -->
<h1>字体样式标签</h1>
<p>粗体:<strong>i love you</strong> </p>
斜体:<em>i love you</em>
<p></p>
<!-- 特殊符号 -->
空 格
空 格
<br/>
<!-- 大于号 -->
>
<!-- 小于号 -->
<
<br/>
<!-- 版权符号 -->
©版权所有
</body>
</html>
!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>图像标签学习</title>
</head>
<body>
<!-- 使用name 作为标记 来进行跳跃 -->
<a name="top">顶部</a>
<!-- img学习
src : 图片地址
相对地址,绝对地址
../ __上一级目录-->
<a href="1.html" target="_blank">点击跳转到页面-</a>
<a href="https://www.baidu.com" target="_self">点击跳转到页面2</a>
<!-- target="_self 在自己的标签页打开
target="_blank 在新的标签页打开-->
<br/>
<p><a href="1.html">
<img src="E:\html\1.jpg" alt="xc" title="悬停文字" width="200" height="200" />
</a></p>
<p><a href="1.html">
<img src="E:\html\1.jpg" alt="xc" title="悬停文字" width="200" height="200" />
</a></p>
<p><a href="1.html">
<img src="E:\html\1.jpg" alt="xc" title="悬停文字" width="200" height="200" />
</a></p>
<p><a href="1.html">
<img src="E:\html\1.jpg" alt="xc" title="悬停文字" width="200" height="200" />
</a></p>
<p><a href="1.html">
<img src="E:\html\1.jpg" alt="xc" title="悬停文字" width="200" height="200" />
</a></p>
<p><a href="1.html">
<img src="E:\html\1.jpg" alt="xc" title="悬停文字" width="200" height="200" />
</a></p>
<a name="down">down</a>
<a href="1.html#down">跳转1</a>
<!--锚链接
1.需要一个锚标记
2.跳转到标记-->
<a href="#top">回到顶部 </a>
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2::53" alt="你好!点击我拿小电影" title="你好!点击我拿小电影"/></a>
<a href="mailto:1213244820@qq.com">点击联系我</a>
</body>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>table</title>
</head>
<body>
<!-- 表格table
行 tr
列 td-->
<table border="1px" bgcolor="aqua">
<tr>
<!-- colspan 跨列 -->
<td colspan="4">1-1</td>
</tr>
<br>
<tr >
<!-- rowspan 跨行 -->
<td rowspan="2">2-1</td>
<td>2-2</td>
<td>2-3</td>
<td>2-4</td>
</tr>
<br/>
<tr>
<td>3-1</td>
<td>3-2</td>
<td>3-3</td>
</tr>
</table>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<!-- iframe 内联框架
src 地址
w-h 高度 宽度属性
frameborder 表示是否显示边框-->
<iframe src="https://www.bilibili.com/video/BV1x4411V75C?p=12" align="center" frameborder="0" width="1300px" height="1300px"> </iframe>
<a href="https://www.bilibili.com/video/BV1x4411V75C?p=12">点击跳转</a>
<!-- <iframe src="//player.bilibili.com/player.html?aid=55631961&bvid=BV1x4411V75C&cid=97257967&page=11"
scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe> -->
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<!-- action 表示向何处发送表单数据
method表示发送表单数据的常用值
-->
<h1>登陆</h1>
<form action="1.html" target="_blank" method="get">
<p>名字: <input type="text" name="username" ></p>
<p>密码: <input type="password" name="pwd" /></p>
<p>性别:
<input type="radio" value="boy" name="sex">男
<input type="radio" value="girl" name="sex">女
<p></p>
<input type="checkbox" value="sleep" name="hobby">睡觉
<input type="checkbox" value="basketball" name="hobby">打球
<input type="checkbox" value="game" name="hobby">打游戏
</p>
<p>按钮
<input type="button" name="but" value="点击变长">
</p>
<!-- 下拉框 -->
<p>下拉框:
<select name="列表名称">
<option value="wwwww">中国</option>
<option value="选yyy">美国</option>
<option value="选yy" selected>印度</option>
<option value="选项yy值">瑞士</option>
</select>
<!-- 文件域 -->
<p>
<input type="file" name="files">
<input type="button" value="上传" name="upload">
</p>
</p>
<!-- 文本域 -->
<p>反馈:
<textarea rows="10" cols="50" >
</textarea>
</p>
<p>
<input type="submit">
<input type="reset">
</p>
</form>
</body>
</html>
文本框 text
下拉框
单选框
多选框
隐藏域
密码框