掃碼下載編程獅APP
<!DOCTYPE html> <html> <head> <style> input[disabled] { background: yellow; } </style> </head> <body> <input id="foo" type="text"> <script> document.getElementById('foo').disabled = true; </script> </body> </html>
The code above is rendered as follows:
下載App
關(guān)注公眾號
Copyright©2023 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
聯(lián)系方式:
掃描二維碼
下載編程獅App
掃碼關(guān)注 領(lǐng)資料包