zoukankan      html  css  js  c++  java
  • 10.12号笔记

    10.12笔记

    实现锚链接:

    定义标记(锚):<a name="——">目标位置</a>

    实现链接到指定位置:<a href="#属性值">位置</a>

    name属性:命名锚的语法

    <a name="label">锚(显示在页面的文本)</a>

    表单创建
       
    <form action="网址">
            
           <table>
                
                <td><input type="text">内容</td>
               
                <td><input type="submit">提交</td>
               
                <td><input type="submit" value="属性值">名称</td>
           
           </table>

    </form>

    <input name="表单元素名称" type="类型" value="值" size="显示宽度"

    maxlength="最大长度" checked="是否选中"/>

    表单元素,语法

    type          功能            列子

    1.text        单行文本输入    <input type="text" name="username"/>

    2.password       密码         <input type="password" name="password"/>

    3.radio          单选         <input type="radio" name="sex" value="名字"/>名字

    4.checkbox       多选         <input type="checkbox" name="name" value="名字"/>名字

    5.reset       重置表单数据    <input type="reset" value="重置"/>

    6.file        文件上传        <input type="file" name="files"/>

    7.submit      提交表单数据    <input type="submit" value="提交"/>

    8.image       图形提交按钮    <input type="image" src="image/图片"/>

    9.button      普通按钮        <input type="button" value="播放音乐"/>

  • 相关阅读:
    网易企业免费邮箱
    168. Excel Sheet Column Title
    167.Two Sum II-Input array is sorted
    166. Fraction to Recurring Decimal
    165 Compare Version Numbers
    164. Maximum Gap
    163.Missing Ranges
    162.Find Peak Element
    161.One Edit Distance
    160. Intersection of Two Linked Lists
  • 原文地址:https://www.cnblogs.com/lxx-1571108184/p/7661587.html
Copyright © 2011-2022 走看看