王娟-20201027

笔记总结

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <---表单
            action:"服务的路径"
            --method:提交方式(get/post)
            enctype:上传文件或图片
            placeholder:提示性文字
            <br />换标签行
            --->
        <form action="服务端的路径" method="post" enctype="application/x-www">
            用户名:<input type="text" name="username" id="username" placeholder="请输入用户名"/><br />
                    密&nbsp;&nbsp;&nbsp;&nbsp;码:<input type="password" name="password" id="password" placeholder="请输入密码"><br />
                    性别:<input type="radio" name="gender" value="男"/>男
                <input type="radio" name="gender" value="女"/>女   <br />
                    邮箱:<input type="email name="email"><br />  
            爱好: <input type="checkbox" name="hobby" value="羽毛球"/> 羽毛球
                <input type="checkbox" name="hobby" value="篮球"/> 篮球
                <input type="checkbox" name="hobby" value="足球"/> 足球
                <input type="checkbox" name="hobby" value="跑步"/> 跑步<br />
                    生日:<input type="date" name=""/><br />
                    几周:<input type="week"/><br />
                    籍贯:<select name ="native">
                  <option value="西宁">西宁</option>
                  <option value="海东">海东</option>    
                  <option value="海西">海西</option> 
                </select><br />
                     自我介绍:<textarea style="resize: none;" rows="8" cols="80"></textarea><br />  
            <input type="submit" value="注册"/>注册登录之类的提交按钮<br />
            <input type="button" value="普通按钮"/>不能提交信息<br />
            <input type="reset" value="重置按钮" /><br />
            <input type="image" src="img/icon.jpg"width="30"height="40"/><br />
        </form>     
    </body>
</html>
表格合并
!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <table width="400" height="400" border="1" cellspacing="10" cellpadding="10">
            <tr>
                <td width="40" align="center" headers="20">1</td>
                <td rowspan="2">2</td>
                <td>3</td>

            </tr>
            <tr>
                <td align="center" headers="50 colspan="4">4</td>
                <td>5</td>
                <td>6</td>

            </tr>
            <tr>
                <td rowspan="2">7</td>
                <td>9</td>

            </tr>
        </table>
    </body>
</html>

心得总结:
今天老师讲课速度稍微有所放慢理解起来也没有那么困难,也能通过自己的努力完成作业,比起昨天有了很大的进步。

标签

评论


© 2021 成都云创动力科技有限公司 蜀ICP备20006351号-1