使用JavaScript和DOM创建HTML表格

作者:袖梨 2022-07-02

mybody.appendChild(table1); 
table1.setAttribute("border", "2"); 
table1.setAttribute("cellspacing", "3");
table1.setAttribute("cellpadding", "2");
}
 
 
 

相关文章

精彩推荐