JavaSection HTML DOM Section 对象 Section 对象 Section对象表示HTML <section>元素。 注意: Internet Explorer 8和早期版本不支持<section>元素。 您可以使用getElementById()访问<section>元素: var x = document.getElementById("mySection");复制尝试一下 您可以使用document.createElement()方法创建<section>元素: var x = document.createElement("SECTION");复制尝试一下 标准属性和事件 Section对象还支持标准属性和事件。 相关页面 HTML参考:HTML <section> 标签