掃碼下載編程獅APP
<html> <body> <textarea id="myText" rows="3" cols="15"> </textarea> <br> <button onclick="myText.cols=100;">Set width of Textarea to 100</button> <button onclick="myText.rows=20;">Set height of Textarea to 20</button> </body> </html>
The code above is rendered as follows:
下載App
關(guān)注公眾號(hào)
Copyright©2023 w3cschool編程獅|閩ICP備15016281號(hào)-3|閩公網(wǎng)安備35020302033924號(hào)
違法和不良信息舉報(bào)電話:173-0602-2364|舉報(bào)郵箱:jubao@eeedong.com
聯(lián)系方式:
掃描二維碼
下載編程獅App
掃碼關(guān)注 領(lǐng)資料包