<form action="./" method="get"> 姓名:<input type="text" name="name" /><br /> 留言:<br /><textarea cols="50" rows="5"></textarea><br /> <input type="submit" value="提交" /> </form>
屬性 Attribute | 描述 Description |
cols | 設定文字區域的闊度 |
rows | 設定文字區域的可見行數 |
disabled | 設定是否禁用該文字區域 |
name | 設定文字區域的獨有名稱 |
readonly | 設定文字區域是否只可以閱讀 |