html常用标签总结
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="一起复习html">
<meta charset="UTF-8">
<title>Title</title>
<title>html小练习</title>
</head>
<body>
<a name="pop">顶部</a>
<p>
<b>你好,世界</b>
<em>i love you</em>
©赵信
</p>
<hr/>
<img src="../OIP.jpg" alt="我的图片" title="悬浮的文字" width="204" height="265">
<a href="https://www.baidu.com" target="_blank">点击跳转百度</a>
<a href="mailto:123@qq.com">点击联系我</a>
<ul>
<li>java</li>
<li>运维</li>
</ul>
<dl>
<dt>学科</dt>
<dd>数学</dd>
</dl>
<table border="1px">
<tr>
<td colspan="4">学习</td>
</tr>
<td rowspan="2">java</td>
<td>前端</td>
<td>数据库</td>
<td>Tomcat</td>
</tr>
<tr>
<td>框架</td>
<td>面向对象</td>
<td>微服务</td>
</tr>
</table>
<hr/>
<video src=".." controls autoplay></video>
<audio src=".." controls autoplay></audio>
<a href="#top">回到顶部</a>
<header>
<h2>网页头部</h2>
</header>
<section>
<h2>网页主体</h2>
</section>
<footer>
<h2>网页脚部</h2>
</footer>
<nav>1</nav>
<hr/>
<iframe src="" name="chang" frameborder="1" width="1000" height="800">点击转跳学习java</iframe>
<a href="https://www.baidu.com" target="chang">点击转跳</a>
<form action="1.我的第一个网页.html" method="get">
<p>请注册账号</p>
<p>名字:<input type="text" name="username" value="1234" size="30" maxlength="20" placeholder="请输入用户名"></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" checked>睡觉
<input type="checkbox" value="talk" name="hobby">说话
</p>
<p>
<input type="button" name="btn1" value="按钮名字">
<input type="image" src="../OIP.jpg" width="200" height="260">
<input type="submit">
<input type="reset">
</p>
<p>反馈:<textarea name="textare" cols="30" rows="10">文本内容</textarea> </p>
<p>
<input type="file" name="files">
<input type="button" value="上传" name="upload">
</p>
<p>邮箱:<input type="email" name="email"></p>
<p>URL:<input type="url" name="url"></p>
<p>
数字:<input type="number" name="num" max="100" min="1" step="1">
音量:<input type="range" name="voice" max="100" min="0" step="2">
</p>
<p><input type="search" name="search"></p>
<p><input type="submit" value="submit"></p>
<p>
<label for="mark"></label>
<input type="text" id="mark">
</p>
</form>
</body>
</html>