除了 Web 浏览器之外,还有 W3C DOM 的实现吗? [英] Are there implementations of the W3C DOM other than in web browsers?

查看:29
本文介绍了除了 Web 浏览器之外,还有 W3C DOM 的实现吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我们都知道DOM(文档对象模型)是一个在 Web 浏览器中表示 HTML 页面的界面,您可以使用 JavaScript 与之交互.

So we all know that the DOM (Document Object Model) is an interface that represents HTML pages in web browsers and that you can interact with it using JavaScript.

我不时阅读有关需要 Web 浏览器才能使用 DOM 的评论.但这是真的吗?

And now and then I read comments about needing a web browser to use the DOM. But is this true?

是否还有其他 DOM 实现,例如服务器端 JavaScript 引擎、屏幕抓取工具、单元测试框架、JavaScript 之外的其他编程语言等?

或者这真的从来没有做过吗?

Or has this really never been done?

推荐答案

我不时阅读有关需要 Web 浏览器才能使用 DOM 的评论.但这是真的吗?

And now and then I read comments about needing a web browser to use the DOM. But is this true?

当然不是.你的理解是正确的.

Of course not. Your understanding is correct.

这篇关于除了 Web 浏览器之外,还有 W3C DOM 的实现吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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