点击运行
在 JavaScript 中使用 id 属性
JavaScript 可以使用 getElementById() 方法访问具有指定 ID 的元素:
Hello World!
改变文本
运行结果