<h1>一级标题h1>
<h2>二级标题h2>
<h3>三级标题h3>
<h4>四级标题h4>
<h5>五级标题h5>
<h6>六级标题h6>
<p>hahp>
<p>hehp>
hah<br/>
heh<br/>
<hr/>
<b>hahb>
<strong>hahstrong>
<em>hehem>
小 马
>
<
©
<img src="../resources/image/1.jpg" alt="代替文字" title="悬停文字" width="100px" height="100px">
<a href="https://www.baidu.com" target="_self">跳转到百度a>
<a href="2.网页的基本标签.html" target="_blank">跳转到本地页面a>
<!--锚链接
1. 需要一个锚标记
2. 跳转到标记
#
-->
<!--使用name做标记-->
<a name="top">顶部</a>
<a href="#top">回到顶部</a>
<!--使用锚链接跳转到其他页面的指定位置-->
<a href="4.超链接标签及应用.html#top">回到第四个页面的顶部</a>
<a href="mailto:[email protected]">点击联系我a>
列表是信息资源的一种展现形式,列表可分为:无序列表,有序列表,定义列表。
<ol>
<li>javali>
<li>htmlli>
<li>cssli>
ol>
<ul>
<li>小马li>
<li>小赵li>
<li>小徐li>
ul>
<dl>
<dt>姓名dt>
<dd>小马dd>
<dd>小赵dd>
<dd>小徐dd>
<dt>学科dt>
<dd>javadd>
<dd>cssdd>
<dd>htmldd>
dl>
要求:用html写出如下表格
<table border="1px">
<tr>
<td colspan="3">学生成绩td>
tr>
<tr>
<td rowspan="2">小马td>
<td>语文td>
<td>100td>
tr>
<tr>
<td>数学td>
<td>100td>
tr>
<tr>
<td rowspan="2">天赐td>
<td>语文td>
<td>100td>
tr>
<tr>
<td>数学td>
<td>100td>
tr>
table>
<video src="../resources/video/罗斯.mp4" controls autoplay>罗斯video>
<audio src="../resources/audio/小汐.mp3" controls autoplay>小汐audio>
<header>
<h2>网页头部h2>
header>
<section>
<h2>网页主体h2>
section>
<footer>
<h2>网页脚部h2>
footer>
<iframe src="https://www.baidu.com" frameborder="0" width="300px" height="300px">iframe>
点击跳转到博客:
<iframe src="" name="CSDN" frameborder="0" width="300px" height="300px">iframe>
<a href="https://www.csdn.net" target="CSDN">点击跳转a>
<form action="8.页面结构分析.html" method="post">
<p>账号:<input type="text" name="username"/>p>
<p>密码:<input type="password" name="pwd"/>p>
<p>
<input type="submit"/>
<input type="reset" />
p>
form>
<p>性别:
<input type="radio" value="boy" name="sex" checked/>男
<input type="radio" value="girl" name="sex"/>女
p>
<p>爱好:
<input type="checkbox" value="sleep" name="hobby">睡觉
<input type="checkbox" value="eat" name="hobby">吃饭
<input type="checkbox" value="playgame" name="hobby">打游戏
<input type="checkbox" value="study" name="hobby" checked>学习
p>
<p>按钮:
<input type="button" value="点击变长" name="btn">
<input type="image" src="../resources/image/小汐.jpg" height="50px" width="50px">
p>
<p>
<input type="submit">
<input type="reset" >
p>
<p>城市:
<select name="列表名称" id="">
<option value="njc">南京option>
<option value="szc" selected>苏州option>
<option value="yzc">扬州option>
<option value="shc">上海option>
select>
p>
<p>反馈:
<textarea name="textarea" id="" cols="50" rows="10" >
文本内容
textarea>
p>
<p>
<input type="file" name="file" >
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="0" step="1">
p>
<p>音量:
<input type="range" min="0" max="100" name="voice" step="2">
p>
<p>搜索:
<input type="search" name="search">
p>
<label for="ma">点我label>
<input type="text" id="ma">
<p>音量:
<input type="range" min="0" max="100" name="voice" step="2">
p>
<p>搜索:
<input type="search" name="search">
p>
<label for="ma">点我label>
<input type="text" id="ma">