WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Section Object


Section Object

The Section Object is new in HTML5.

The Section object speaks to a HTML <section> element.

Note: The <section> component isn't upheld in Internet Explorer 8 and prior versions.

Access a Section Object

You can get to a <section> component by utilizing getElementById():

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

Create a Section Object

You can make a <section> component by utilizing the document.createElement() method:

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



Welookups is optimized for learning.Copy right 2018 - 2019 kumar aditya singh .
All Right Reserved and you agree to have read and accepted our term and condition.
All Rights Reserved.

welookups.com