• 表单.”文本,按钮的运用。”


    练习1

    <body>
          <form action="https://www.baidu.com/" method="post">
    
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <th align="left" scope="row">帐号:<input type="text" name="z" /></th>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <th align="left" scope="row">密码:<input type="text" name="x" /></th>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <th align="left" scope="row">密码强度:</th>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="20">确认密码:<input type="text" name="c" /></td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>年龄:<input type="text" name="d" /></td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>邮箱:<input type="text" name="s" /></td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>手机:<input type="text" name="a" /></td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>固定电话:<input type="text" name="m" /></td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="n" cellpadding="0">
      <tr>
        <td>身份证号码:<input type="text" name="b" /></td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>日期:<input type="text" name="v" /></td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>性别:<input type="radio" value="na" name="n" id="le" />
        <label for="le">男</label>
       <input type='radio'" name="n" value="NA" id="la"  />
       <label for="la">女</label>
       </td>
      </tr>
      
      
      
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>类型:<select name="w">
              <option>实习</option>
              <option>实践</option>
              <option>实训</option>
              </td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>入职日期:<input type="date" name="yi" /></td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><input type="submit" name="y" value="提交" /></td>
      </tr>
    </table>
    </html>
    

      练习2

    <body>
    <form action='https://www.baidu.com/' method="post">
        <span>姓名:</span>
        <input type="text" name="a" />
        
        <P><span>性别:</span>
       <input type='radio'" name="n" value="NAN"  />男
       <input type='radio'" name="n" value="NA"  />女
        </P>
        <div>职业:
        <input type="text" name="b" /></div>
        <p><span>所在地:</span>
        <input type="text" name="c" /></p>
        <span>公司/个人:</span>
        <input type='radio'" name="m" value="ac"  />公司
       <input type='radio'" name="m" value="ab"  />个人
       <p><span>联系方式:</span>
      <input type="text" name="q" /></p>
       <P><span>经营意向:</span>
        <textarea name="k"></textarea></P>
        <div><input type="submit" name="y" value="提交" />感谢您的加盟
        </div>
       
        
        
        
        
    </form>
    
    </body>
    

      练习3

    <body>
           <center><iframe src="练习.html" scrolling="no" frameborder="0" width="500" height="300"></iframe></center>
           <marquee behavior="slide" scrollamount="12"><img src="1105105.jpg" /></marquee>
         </body>
    

      练习4

    /head>
        
          <frameset cols="300,*">
          <frame src="766974.jpg" noresize="noresize" />
          <frameset rows="400,*">
          <frame src="1106993.jpg" />
          </frameset>
          </frameset>
          <noframes>
          </noframes>
          
          
          
          
          
    
    </html>
    

      

  • 相关阅读:
    Linux 一条命令批量关闭子进程
    Ubuntu18.08+php7 apache2不解析php文件解决方法
    Python ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
    python报错 UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
    Python封装为可执行程序
    PHP-FPM 远程代码执行漏洞(CVE-2019-11043)的简单复现学习
    多事之秋,随便记点东西
    泛微e-cology OA系统某接口存在数据库配置信息泄露漏洞复现
    对vuex的浅解
    vuejs验证码
  • 原文地址:https://www.cnblogs.com/cy960202/p/8596025.html
Copyright © 2020-2023  润新知