WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Summary Object


Summary Object

The Summary Object is new in HTML5.

The Summary article speaks to a HTML <summary> element.

Note: The <summary> component is as of now just upheld in Chrome, Safari 6+ and Opera 15+.

Access a Summary Object

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

var x = document.getElementById("mySummary"); Try it

Create a Summary Object

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

var x = document.createElement("SUMMARY"); Try it

Standard Properties and Events

The Summary item additionally underpins the standard properties and events.


Related Pages

HTML reference: HTML <summary> tag

HTML reference: HTML <details> tag

JavaScript reference: HTML DOM Details Object