掃碼下載編程獅APP
<!DOCTYPE html> <html> <body> <script type='text/javascript'> var elem = document.createElement("input"); elem.type = "text"; elem.id = "test"; document.body.appendChild(elem); elem.value = "This is some text"; </script> </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)資料包