https://www.w3school.com.cn/js/js_htmldom.asp
看到这里 https://www.w3school.com.cn/js/js_htmldom_elements.asp