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