YouTip LogoYouTip

Dom Obj Details

# HTML DOM Details Object * * * ## Details Object The Details object represents an HTML `
` element. ### Accessing the Details Object You can access the `
` element using `getElementById()`: ```javascript var x = document.getElementById("myDetails"); (#) ### Create a Details Object You can create a `
` element by using the `document.createElement()` method: ```javascript var x = document.createElement("DETAILS"); (#) ## Details Object Properties | Property | Description | | --- | --- | | (#) | Sets or returns whether the description information within the details tag is displayed. | ## Standard Properties and Events The Details object also supports standard (#) and (#). * * * ## Related Articles HTML Reference: [HTML `
` tag](#)
← Prop Details OpenProp Canvas Globalcompositeope β†’