14-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>
    

     
     <form action="./13表格标签.html">
        
        <label for="us">用户名:label>
        <input type="text" id="us" name="username" value="">
        <br><br>
        
        密码:<input type="password" name="password">
        <br><br>

        
        性别:
        <input id="nan" type="radio" name="gender" value="male"> 
        <label for="nan">label> 
        <input type="radio" name="gender" value="female"><br><br>

        
        你喜欢的老师:
        <input type="checkbox" name="teacher" value="cls" checked>陈老师
        <input type="checkbox" name="teacher" value="tls" >唐老师
        <input type="checkbox" name="teacher" value="zls" checked>朱老师

        <br><br>
        
        
        籍贯:
        <select name="city" id="">
            <optgroup label="北方">
                <option value="beijing">北京option>
            optgroup>
            <optgroup label="南方">
                <option value="shenzheng" selected>深圳option>
                <option value="shanghai">上海option>
            optgroup>
            
        select>

        
        
        自我介绍
        <textarea name="self" id="" cols="30" rows="10">请输入自我介绍textarea>

        <br><br>
        
        <input type="submit">
        <input type="submit" value="注册">
        <br><br>
        
        <input type="reset">
        
        <input type="button" value="普通按钮">
        <br><br><br>
        
        <button type="submit">注册button>
        <button type="reset">重置button>
        <button type="button">普通按钮button>
        
     form>
body>
html>

你可能感兴趣的:(htmls,html,html,html5,学习笔记,主动学习,加油)