html
基本标签
<h1>一级标签</h1>
<h2>二级标签</h2>
<h3>三级标签</h3>
<h4>四级标签</h4>
<h5>五级标签</h5>
<h6>六级标签</h6>
<p>我怀念的是 无话不说</p>
<p>我怀念的是 自己承受</p>
这个寒假<br/>
好好学Java<br/>
<hr>
<br/>
<h1>字体样式标签</h1>
粗体:<strong>I love you</strong><br/>
斜体:<em>I love you</em>
空 格
<br>
空 格
<br/>
大于号:><br/>
小于号:<<br/>
版权所有阿鬼©
<br/>
基本标签
<img src="../resource/untitled1.png" alt="阿鬼的web"
title="阿鬼大大" width="300" height="300">
<a href="4.链接标签.html#down">跳转</a>
链接标签
<a name="top">顶部</a>
<a href="2.基本标签.html" target="_self">跳转页面</a>
<a href="https://www.baidu.com">百度</a>
<a href="2.基本标签.html"target="_blank"><img src="../resource/untitled1.png" alt="阿鬼的web"
title="阿鬼大大" width="300" height="300"></a>
<p><a href="2.基本标签.html"target="_blank"><img src="../resource/untitled1.png" alt="阿鬼的web"
title="阿鬼大大" width="300" height="300"></a>
</p>
<p><a href="2.基本标签.html"target="_blank"><img src="../resource/untitled1.png" alt="阿鬼的web"
title="阿鬼大大" width="300" height="300"></a>
</p>
<p><a href="2.基本标签.html"target="_blank"><img src="../resource/untitled1.png" alt="阿鬼的web"
title="阿鬼大大" width="300" height="300"></a>
</p>
<p><a href="2.基本标签.html"target="_blank"><img src="../resource/untitled1.png" alt="阿鬼的web"
title="阿鬼大大" width="300" height="300"></a>
</p>
<p><a href="2.基本标签.html"target="_blank"><img src="../resource/untitled1.png" alt="阿鬼的web"
title="阿鬼大大" width="300" height="300"></a>
</p>
<p><a href="2.基本标签.html"target="_blank"><img src="../resource/untitled1.png" alt="阿鬼的web"
title="阿鬼大大" width="300" height="300"></a>
</p>
<p><a href="2.基本标签.html"target="_blank"><img src="../resource/untitled1.png" alt="阿鬼的web"
title="阿鬼大大" width="300" height="300"></a>
</p>
<p><a href="2.基本标签.html"target="_blank"><img src="../resource/untitled1.png" alt="阿鬼的web"
title="阿鬼大大" width="300" height="300"></a>
</p>
<p><a href="2.基本标签.html"target="_blank"><img src="../resource/untitled1.png" alt="阿鬼的web"
title="阿鬼大大" width="300" height="300"></a>
</p>
<p><a href="2.基本标签.html"target="_blank"><img src="../resource/untitled1.png" alt="阿鬼的web"
title="阿鬼大大" width="300" height="300"></a>
</p>
<a href="#top">回到顶部</a>
<a name="down"></a>
<a href="mailto:1579707203@qq.com">点击联系我</a>
列表
<ol>
<li>Java</li>
<li>python</li>
<li>运维</li>
<li>前端</li>
<li>c/c++</li>
</ol>
<hr>
<ul>
<li>Java</li>
<li>python</li>
<li>运维</li>
<li>前端</li>
<li>c/c++</li>
<dl>
<dt>学科</dt>
<dd>JavaSe</dd>
<dd>sql</dd>
<dd>Javaee</dd>
<dd>JavaWeb</dd>
<dd>JavaBig Date</dd>
</dl>
</ul>
表格
<table border="1px">
<tr>
<td colspan="4">学生成绩</td>
</tr>
<tr>
<td rowspan="2" n>阿鬼</td>
<td>计组</td>
<td>70</td>
</tr>
<tr>
<td>软工</td>
<td>60</td>
</tr>
<tr >
<td rowspan="2">王朝旭</td>
<td>计网</td>
<td>80</td>
</tr>
<tr>
<td>操作系统</td>
<td>
80
</td>
</tr>
媒体元素
<audio src="../resource/audio/Ed%20Sheeran-Shape%20of%20You.mp3"controls autoplay></audio>
<video src="../resource/video/da8027a9c7c7009fc63d41c11c31ff5a.mp4"controls autoplay></video>
页面结构
<head><p>网页头部</p></head>
<section><p>网页主体</p></section>
<footer> <p>网页脚部</p></footer>
内联框架iframe
<iframe src="" name="hello" frameborder="0"width="10000"height="800"></iframe>
<a href="7.媒体元素.html"target="hello">点击跳转</a>
表单-input
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>登录注册</title>
</head>
<body>
<form action="3.图像标签.html" method="get">
<h1>注册</h1>
<p>
名字:<input type="text" name="username" value="阿鬼大大" size="10" placeholder="请输入姓名">
</p>
<p>
密码:<input type="password" name="psd" value="123456" readonly hidden>
</p>
<p>课程:
java:<input type="radio" name="lesson" value="java">
web:<input type="radio" name="lesson" value="web">
sql:<input type="radio" name="lesson" value="sql">
python:<input type="radio" name="lesson" value="python">
</p>
<p>爱好
<input type="checkbox" value="吃饭" checked name="hobby" disabled>吃饭
<input type="checkbox" value="睡觉" name="hobby">睡觉
<input type="checkbox" value="打豆豆" name="hobby">打豆豆
<input type="checkbox" value="敲代码" name="hobby">敲代码
</p>
<p>
按钮:
<input type="button" value="点击边长" name="but1">
<input type="image" src="../resource/untitled1.png">
</p>
<p>
<input type="file" name="files">
<input type="button" name="upload" value="上传">
</p>
<p>邮箱:
<input type="email" name="email">
</p>
<p>url:
<input type="url" name="url">
</p>
<p>
商品数量:
<input type="number" name="num" max="1000" min="200" step="5" required>
</p>
<p>
音量:
<input type="range" name="voice" min="0" max="200" step="4">
</p>
<p>
<input type="search" name="java">
</p>
<p>
<label for="mark">你点我试试</label>
<input type="text" id="mark">
</p>
<p>
<input type="submit">
<input type="reset">
</p>
</form>
</body>
</html>
表单-select
<form action="2.基本标签.html" method="post">
<p>
国家:
<select name="列表名称" >
<option value="china">中国</option>
<option value="usa">美国</option>
<option value="Italy" selected>意大利</option>
<option value="法国">法国</option>
</select>
</p>
<p>
<textarea name="textarea" cols="30" rows="10">文本内容</textarea>
</p>
</form>