js获取html元素的方式

js获取html元素的方式

js获取html元素的方式+通过ID获取:getElementById('id属性值') +通过标签名:getElementsByTagName('标签名') +通过类名:getEle
JavaScript100