0
点赞
收藏
分享

微信扫一扫

html------->表单进阶----->文字域

佃成成成成 2022-04-14 阅读 102
<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>表单进阶</title>
    <style>
        textarea{
        resize:vertical horizontal;
        /*
       resize    重新设置大小
       vertical  垂直
       horizonta 水平
       both      
       none 
        */
        }
    </style>
</head>
<body>
    <h1>表单进阶-文字域</h1>
    <!--<textarea  cols="20" rows="12" placeholder="请输入你的意见"></textarea>-->
    <!--cols:列 rows行 placeholder提示-->
    <textarea  cols="30" rows="10">提前设置好的</textarea>
</body>
</html>
举报

相关推荐

0 条评论