innerHTML、outerHTML、innerText、outerText的区别
1.innerHTML Sets or retrieves the HTML between the start and end tags of the object;
2.outerHTML Sets or retrieves the object and its content in HTML;
3.innerText Sets or retrieves the text between the start and end tags of the object;
4.outerText Sets or retrieves the text of the object.
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
posted on 2005-02-25 21:01 ξσ Dicky σξ 阅读(1193) 评论(5) 编辑 收藏 举报