<!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>