1234567<div name="div1"></div> document.getElementsByName('div1'); document.getElementsByTagName('div'); 顾名思bai义,根据duname属性,根据标zhi签名dao字
https://zhidao.baidu.com/question/454414915347257365.html