除了Javascript之外,还有没有其他可以访问和更新HTML DOM的编程语言? [英] Are there any programming languages other than Javascript that can access and update HTML DOM?

查看:46
本文介绍了除了Javascript之外,还有没有其他可以访问和更新HTML DOM的编程语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习HTML DOM.我很好奇是否有除JavaScript之外的其他编程语言可以通过HTML文档对象模型访问和更新HTML元素的内容,结构和样式.

I am learning HTML DOM. I am curious if there is any other programming language other than JavaScript that can access and update the content, structure and style of HTML elements through the HTML Document Object Model.

推荐答案

几乎所有的编程语言都有DOM API.

There are DOM APIs for just about every programming language out there.

列表继续.

如果您询问网络浏览器支持的编程语言,请

If you are asking about programming languages supported by web browsers, then JavaScript is the only practical one although there are others (TypeScript most notably) which can be transpiled to JavaScript before being sent to the browser.

这篇关于除了Javascript之外,还有没有其他可以访问和更新HTML DOM的编程语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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