html的<input>标签常用属性

input标签有几个常用的属性

checked  规定此 input 元素首次加载时应当被选中。

disabled  当 input 元素加载时禁用此元素。

name     定义 input 元素的名称。

src        定义以提交按钮形式显示的图像的 URL。

type      规定 input 元素的类型。

包含    

    • button
    • checkbox
    • file
    • hidden
    • image
    • password
    • radio
    • reset
    • submit
    • text

value    规定 input 元素的值。

原文地址:https://www.cnblogs.com/zhousilai/p/3019681.html