摘要: <div> <font>你好</font> </div> 可以用alert()或者console.log()查看 div.innerHTML:打印两个标签之间嵌套的东西(包括标签);例:<font>你好</font> div.innerText:打印标签的文本内容;例:你好 div.innerHTM 阅读全文
posted @ 2018-10-12 09:55 听说名字特别长容易被发现 阅读(522) 评论(0) 推荐(0) 编辑