Oggetto Section DOM HTML
Oggetto Section
L'oggetto Section rappresenta l'elemento HTML <section>.
Nota:Internet Explorer 8 e le versioni precedenti non supportano l'elemento <section>.
Accedi all'oggetto Section
Puoi utilizzare getElementById() per accedere all'elemento <section>:
var x = document.getElementById("mySection");
Creare l'oggetto Section
Puoi utilizzare il metodo document.createElement() per creare l'elemento <section>:
var x = document.createElement("SECTION");
Pagine correlate
Manuale di riferimento HTML:Etichetta <section> HTML