JavaScript中的DOM和BOM是什么? [英] What is the DOM and BOM in JavaScript?

查看:88
本文介绍了JavaScript中的DOM和BOM是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JavaScript中的DOM和BOM是什么?如果有人可以用外行人的话来解释这一点,那真是太棒了!我想更深入地了解这些。

What is the DOM and BOM in JavaScript? If someone could explain these in layman terms it would be great! I like to get a deeper understanding of these.

推荐答案

BOM(浏览器对象模型)由对象导航员历史屏幕 location 文档窗口的子项。在文档中节点是DOM(文档对象模型),表示页面内容的文档对象模型。您可以使用javascript操作它。

The BOM (Browser Object Model) consists of the objects navigator, history, screen, location and document which are children of window. In the document node is the DOM (Document Object Model), the document object model, which represents the contents of the page. You can manipulate it using javascript.

这篇关于JavaScript中的DOM和BOM是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆