说一说你对dom和bom的理解 南桥春雪君归处 2023-02-09 64 阅读1分钟 dom 文档对象模型, 将网页文档看做了一个对象 常见的api document.getElementById docuemnt.querySelector bom 浏览器对象模型,将浏览器看做了一个对象 location、navigator、screen location可以获取url地址,页面跳转(一定要说出来) navigator 以前是用来检测浏览器类型的 screen 检测屏幕各种尺寸