<style> .box { width: 100px; height: 100px; background: yellow; } ... setAttribute('attribute','value') ,透過這個語法可以動態修改HTML 標籤中的屬性及新增屬性 ...
確定! 回上一頁