📜  js html 对象 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:25.634000             🧑  作者: Mango

代码示例1
Access an html element by id:

document.getElementById('elements_id')

You can access an html element with various ways.