笔记
DOM:文档对象模型
document “.” 的方式获取方法,来进行操作文档
var element=document.getElementById("intro");
具体路径
菜鸟教程
https://www.runoob.com/htmldom/htmldom-methods.html
笔记
DOM:文档对象模型
document “.” 的方式获取方法,来进行操作文档
var element=document.getElementById("intro");
具体路径
菜鸟教程
https://www.runoob.com/htmldom/htmldom-methods.html