---
title: "Comment by Danny Engelman on \"Create your own HTML tag using JavaScript\" | Hashnode"
description: "FYI, HTML5 has default tags to create an accordion: https://dev.to/dannyengelman/acme-the-accordion-web-component-in-187-bytes-47ah"
url: "https://hashnode.com/posts/create-your-own-html-tag-using-javascript/60a526f95c1fcb407736575b/comment/60a55dde4e7f9549fc32f847"
---

[Discussion](https://hashnode.com/posts/create-your-own-html-tag-using-javascript/60a526f95c1fcb407736575b)

Comment [Create your own HTML tag using JavaScript](https://hashnode.com/posts/create-your-own-html-tag-using-javascript/60a526f95c1fcb407736575b)

[Danny Engelman](https://hashnode.com/@Danny-Engelman)

[May 19, 2021](https://hashnode.com/posts/create-your-own-html-tag-using-javascript/60a526f95c1fcb407736575b/comment/60a55dde4e7f9549fc32f847)

FYI, HTML5 has default tags to create an accordion: [dev.to/dannyengelman/acme-the-accordion-web-compo…](https://dev.to/dannyengelman/acme-the-accordion-web-component-in-187-bytes-47ah)

[Prajwal Raj Basnet](https://hashnode.com/@shadydev)

[May 20, 2021](https://hashnode.com/posts/create-your-own-html-tag-using-javascript/60a526f95c1fcb407736575b/comment/60a55dde4e7f9549fc32f847#reply-60a5f27c4e7f9549fc32fe74)

Yeah, just tried to create a custom one instead of depending on `summary` & `details` elements.
