习题的小练习

1.选择题

  1. 在 HTML 中,用来创建标题的标签是 _____h___。
  2. 要创建一个超链接,使用的 HTML 标签是 __a。
  3. 要插入图片,使用的 HTML 标签是 ____img____。
  4. HTML 文档的主体内容放在 ___body_____ 标签内。
  5. 用于定义表格行的标签是 ___tr_____。
  6. 定义无序列表的标签是 ___ul_____。
  7. HTML 注释的语法是 ___ctrl+/_____。
  8. 用于嵌入视频和音频的标签分别是 ___video_____、____audio____。
  9. 用于定义表格数据单元的标签是 ____td ____。
  10. 用于定义文档头部信息的标签是 ___head_____。
  11. 用于定义段落的标签是 _____p__。    
  12. HTML 中用于定义样式表链接的标签是 ____link___

2.判断题

  1. HTML 中的标签都是大小写敏感的。 错
  2. <div> 标签用于定义一个块级的容器,可以用来组织页面上的内容。 对
  3. HTML 中,无论在哪里添加空格、换行符或制表符,浏览器都会将它们合并为一个空格。  对
  4. 在 HTML 中,表格的每一行都用 <row> 标签定义。  错
  5. 在 HTML 中,可以通过设置 <a> 标签的 target 属性为 "_blank" 来在新标签页打开链接。  对

3.编程题

编写一个简历模板

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <table border="1" width="600px" height="800px" bgcolor="black" cellspacing = "1px" align="center">
        <caption><h1>个人简历</h1></caption>
        <thead>
            <tr bgcolor="white">
                <th colspan="2">姓名</th>
                <td align="center">ykk</td>
                <th>年龄</th>
                <td align="center">21</td>
                <th>性别</th>
                <td align="center">男</td>
                <th rowspan="4">
                    <img src="./1.png" alt="">
                </th>
            </tr>
                <tr bgcolor="white">
                    <th colspan="2">籍贯</th>
                    <td align="center">山西</td>
                    <th>民族</th>
                    <td align="center">汉族</td>
                    <th>学历</th>
                    <td align="center">研究生</td>
                </tr>
                <tr bgcolor="white">
                    <th colspan="2">毕业院校</th>
                    <td align="center">XXXX</td>
                    <th>专业</th>
                    <td align="center">XXXX</td>
                    <th>政治面貌</th>
                    <td align="center">XXXX</td>
                </tr>
                <tr bgcolor="white">
                    <th colspan="2">联系方式</th>
                    <td colspan="3" align="center">1XXXXXXXXXX</td>
                    <th>婚姻状况</th>
                    <td align="center">未婚</td>
                </tr>
                <tr bgcolor="white">
                    <th colspan="2">个人技能</th>
                    <td colspan="6" align="center">xxxxxxxxxxxxxxx</td>
                </tr>
                <tr bgcolor="white">
                    <th colspan="2">主修课程</th>
                    <td colspan="6" align="center">xxxxxxxxxxxxxxx</td>
                </tr>
                <tr bgcolor="white">
                    <th colspan="2">兴趣爱好</th>
                    <td colspan="6" align="center">xxxxxxxxxxxxxxx</td>
                </tr>
                <tr bgcolor="white">
                    <th rowspan="4" width="2px">学习经历</th>
                    <th>起止日期</th>
                    <th colspan="3">学校名称</th>
                    <th colspan="2">专业</th>
                    <th>学历</th>
                </tr>
                <tr bgcolor="white">
                    <td align="center">xxxxx</td>
                    <td colspan="3" align="center">xxxx</td>
                    <td colspan="2" align="center">xxxxx</td>
                    <td align="center">xxxx</td>
                </tr>
                <tr bgcolor="white">
                    <td align="center">xxxxx</td>
                    <td colspan="3" align="center">xxxx</td>
                    <td colspan="2" align="center">xxxxx</td>
                    <td align="center">xxxx</td>
                </tr>
                <tr bgcolor="white">
                    <td align="center">xxxxx</td>
                    <td colspan="3" align="center">xxxx</td>
                    <td colspan="2" align="center">xxxxx</td>
                    <td align="center">xxxx</td>
                </tr>
                <tr bgcolor="white">
                    <th rowspan="3">工作实践经历</th>
                    <th>起止日期</th>
                    <th colspan="3" align="center">单位名称及职位</th>
                    <th colspan="2" align="center">主要职责</th>
                    <th>备注</th>
                </tr>
                <tr bgcolor="white">
                    <td align="center">xxxxx</td>
                    <td colspan="3" align="center">xxxx</td>
                    <td colspan="2" align="center">xxxxx</td>
                    <td align="center">xxxx</td>
                </tr>
                <tr bgcolor="white">
                    <td align="center">xxxxx</td>
                    <td colspan="3" align="center">xxxx</td>
                    <td colspan="2" align="center">xxxxx</td>
                    <td align="center">xxxx</td>
                </tr>
                <tr bgcolor="white">
                    <th>自我评价</th>
                    <td colspan="7" align="center">xxxxxxxxxxxxxxxxxxxxx</td>
                </tr>
                <tr bgcolor="white">
                    <th>其他说明</th>
                    <td colspan="7" align="center">xxxxxxxxxxxxxxxxxxxxx</td>
                </tr>
            
        </thead>
    
    </table>
</body>
</html>

  • 9
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值