HTML DOM Section Object

Section object

The Section object represents the HTML <section> element.

Note:Internet Explorer 8 and earlier versions do not support the <section> element.

Access the Section object

You can use getElementById() to access the <section> element:

var x = document.getElementById("mySection");

Try It Yourself

Create a Section object

You can use the document.createElement() method to create a <section> element:

var x = document.createElement("SECTION");

Try It Yourself

Standard Properties and Events

Section Object Supports StandardsPropertiesandEvents.

Related Pages

HTML Reference Manual:HTML <section> Tag