摘要: 1、行内样式获取打印出来 2、内嵌和外链的获取不了 <div style="width:200px;height:200px; background: red;"></div> var box=document.getElementsByTagName("div")[0]; console.log( 阅读全文
posted @ 2025-05-17 19:09 Dy大叔 阅读(20) 评论(0) 推荐(0)