With this HTML-code:
I can create this behavior on a webpage:
But when I copy the code into a Canvas page and save it, the name attribute gets removed and the old section does not close when i click on a new one. I can do it with JavaScript, but why do it when it can be done with simple HTML?