用HTML做一份个人简历

"本文档介绍了一位初学者如何使用HTML制作个人简历,包括使用表格和表单元素,如, , 等,以及如何设置样式属性如width和height。简历模板包含了姓名、性别、出生年月等个人信息,以及教育背景、技能和联系方式等部分,增加了文件上传功能,提高了交互性。"
摘要由CSDN通过智能技术生成

学习了基本的HTML知识后,今天尝试用Html做一份个人简历。需要用到的基础知识是:

Html表格:以<table></table>标签作为开始,<tr></tr>作为行,<td></td>作为列。

<th></th>是表头(特殊的<tr>),<caption></caption>为表名。

HTML表单:使用<input type=“ XXX”> (XXX)取决于想要输入的类型,制作个人简历时,我主要用到“type”,“file”

个人简历实则上就是一份表格,表格制作时,注意“width","height"等属性,表格制作完成后,再在相应地方加入表单,增加表格交互性,个人简历就做好了。

代码放在下方,欢迎大家指正交流。

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>关卡三</title>
</head>

<body>
    <table border="1" cellpadding="0" align="center">
        <caption align="center">
            <h3>个人简历</h3>
        </caption>
        <tr>
            <td width="110px " hight="25px " align="center">
                姓名
            </td>
            <td width="110px " hight="25px " align="center">
                <input type="text" style="width:110px;">
            </td>
            <td width="110px " hight="25px " align="center">
                性别
            </td>
            <td width="110px " hight="25px " align="center ">
                <input type="text" style="width:110px;">
            </td>
            <td width="110px " hight="25px " align="center">
                出生年月
            </td>
            <td width="110px " hight="25px " align="center ">
                <input type="text" style="width:110px;">
            </td>
            <td width="110px " hight="25px " rowspan="4 ">
                <input type="file" style="width:110px; ">
            </td>
        </tr>
        <tr>
            <td width="110px " hight="25px " align="center">
                民族
            </td>
            <td width="110px " hight="25px " align="center ">
                <input type="text" style="width:110px;">
            </td>
            <td width="110px " hight="25px " align="center">
                政治面貌
            </td>
            <td width="110px " hight="25px " align="center ">
                <input type="text" style="width:110px;">
            </td>
            <td width="110px " hight="25px " align="center">
                身高
            </td>
            <td width="110px " hight="25px " align="center ">
                <input type="text" style="width:110px;">
            </td>

        </tr>
        <tr>
            <td width="110px " hight="25px " align="center">
                学制
            </td>
            <td width="110px " hight="25px " align="center ">
                <input type="text" style="width:110px;">
            </td>
            <td width="110px " hight="25px " align="center">
                学历
            </td>
            <td width="110px " hight="25px " align="center ">
                <input type="text" style="width:110px;">
            </td>
            <td width="110px " hight="25px " align="center">
                户籍
            </td>
            <td width="110px " hight="25px " align="center ">
                <input type="text" style="width:110px;">
            </td>

        </tr>
        <tr>
            <td width="110px " hight="25px " align="center">
                学制
            </td>
            <td width="110px " hight="25px " align="center ">
                <input type="text" style="width:110px;">
            </td>
            <td width="110px " hight="25px " align="center">
                学历
            </td>
            <td width="110px " hight="25px " align="center ">
                <input type="text" style="width:110px;">
            </td>
            <td width="110px " hight="25px " align="center">
                户籍
            </td>
            <td width="110px " hight="25px " align="center ">
                <input type="text" style="width:110px;">
            </td>

        </tr>
        <tr>
            <td hight="25px " align="center">
                专业
            </td>
            <td hight="25px " align="center ">

            </td>
            <td colspan="2 " hight="25px " align="center">
                毕业学校
            </td>

            <td colspan="3 " hight="25px " align="center ">
                <input type="text" style="width:335px; ">
            </td>

        </tr>
        <tr>
            <td colspan="7 " align="center " hight="25px " align="center">
                技能,特长或爱好
            </td>
        </tr>
        <tr>
            <td hight="25px " align="center">
                外语等级
            </td>
            <td colspan="2 " hight="25px " align="center ">
                <input type="text" style="width:222px; ">
            </td>
            <td hight="25px " align="center">
                计算机
            </td>
            <td colspan="3 " hight="25px " align="center ">
                <input type="text" style="width:337px; ">
            </td>

        </tr>
        <tr>
            <td colspan="7 " hight="25px " align="center">
                个人履历
            </td>
        </tr>
        <tr>
            <td hight="25px " align="center">
                时间
            </td>
            <td colspan="2 " hight="25px " align="center">
                单位
            </td>
            <td colspan="4 " hight="25px " align="center">
                经历
            </td>
        </tr>
        <tr hight="25px">
            <td hight="25px" align="center ">
                <input type="text" style="width:110px;">
            </td>
            <td colspan="2" hight="25px " align="center ">
                <input type="text" style="width:222px; ">
            </td>
            <td colspan="4" hight="25px " align="center ">
                <input type="text" style="width:457px; ">
            </td>
        </tr>
        <tr hight="25px ">
            <td hight="25px " align="center" input type="text">
                <input type="text" style="width:110px;">
            </td>
            <td colspan="2 " hight="25px " align="center ">
                <input type="text" style="width:222px; ">
            </td>
            <td colspan="4 " hight="25px " align="center ">
                <input type="text" style="width:457px; ">
            </td>
        </tr>
        <tr hight="25px ">
            <td hight="25px " align="center" input type="text">
                <input type="text" style="width:110px;">
            </td>
            <td colspan="2 " hight="25px " align="center ">
                <input type="text" style="width:222px; ">
            </td>
            <td colspan="4 " hight="25px " align="center ">
                <input type="text" style="width:457px; ">
            </td>
        </tr>
        <tr>
            <td colspan="7 " align="center " hight="25px ">
                联系方式
            </td>
        </tr>
        <tr>
            <td hight="25px " align="center">
                通信地址
            </td>
            <td colspan="2 " hight="25px " align="center ">
                <input type="text" style="width:222px; ">
            </td>
            <td hight="25px " align="center">
                联系方式
            </td>
            <td colspan="3 " hight="25px " align="center ">
                <input type="text" style="width:337px; ">
            </td>

        </tr>
        <tr>
            <td hight="25px " align="center">
                E-mail
            </td>
            <td colspan="2 " hight="25px " align="center ">
                <input type="text" style="width:222px; ">
            </td>
            <td hight="25px " align="center">
                邮编
            </td>
            <td colspan="3 " hight="25px " align="center ">
                <input type="text" style="width:337px; ">
            </td>

        </tr>
        <tr>
            <td colspan="7 " align="center " hight="25px ">
                自我评价
            </td>
        </tr>


    </table>
</body>

运行后效果如图

 

 

  • 14
    点赞
  • 81
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
当然可以,以下是一个简单的个人简历HTML代码: ``` <!DOCTYPE html> <html> <head> <title>个人简历</title> <style> body { font-family: Arial, sans-serif; margin: 0; padding: 0; } header { background-color: #333; color: #fff; text-align: center; padding: 20px; } h1 { font-size: 36px; margin: 0; } h2 { font-size: 24px; margin-top: 40px; } section { padding: 20px; margin: 40px; border: 1px solid #ccc; border-radius: 10px; } ul { list-style: none; padding: 0; margin: 0; } li { margin-bottom: 10px; } .label { display: inline-block; width: 120px; font-weight: bold; } </style> </head> <body> <header> <h1>个人简历</h1> </header> <main> <section> <h2>个人信息</h2> <ul> <li> <span class="label">姓名:</span> <span>张三</span> </li> <li> <span class="label">性别:</span> <span>男</span> </li> <li> <span class="label">出生年月:</span> <span>1990年1月1日</span> </li> <li> <span class="label">联系方式:</span> <span>13888888888</span> </li> <li> <span class="label">邮箱:</span> <span>zhangsan@example.com</span> </li> </ul> </section> <section> <h2>教育背景</h2> <ul> <li> <span class="label">学历:</span> <span>本科</span> </li> <li> <span class="label">学校:</span> <span>某某大学</span> </li> <li> <span class="label">专业:</span> <span>计算机科学与技术</span> </li> <li> <span class="label">毕业时间:</span> <span>2012年6月</span> </li> </ul> </section> <section> <h2>工作经历</h2> <ul> <li> <span class="label">公司:</span> <span>某某公司</span> </li> <li> <span class="label">职位:</span> <span>软件工程师</span> </li> <li> <span class="label">工作时间:</span> <span>2012年7月至今</span> </li> <li> <span class="label">工作内容:</span> <span>负责某某项目的开发与维护</span> </li> </ul> </section> </main> </body> </html> ``` 你可以将上面的代码复制到一个文本编辑器中,保存为.html文件,然后在浏览器中打开该文件,就可以看到个人简历的效果。当然,你可以根据自己的需求进行修改和美化。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值