当前位置 主页 > 关于我们 > 站长日志 >

    htmlinput,html input标签 单行文本框 多行文本框

    栏目:站长日志 时间:2021-03-08 15:42

         input type属性
         语法: 
         <input type="表单类型">
         单行文本框
         text 几个重要属性:
         value : 定义文本框的默认值,也就是文本框内的文字。
         siae : 定义文本框的长度,以字符为单位。
         maxlength : 设置文本框中最多可以输入的字符数。
         多行文本框:
         语法:
         <textarea cols="行数" rows="列数">内容</textarea>
         实例:
         原文链接:https://blog.csdn.net/qq_42265536/article/details/85215271
    下一篇:没有了