In this example, you will learn about the dojo TitlePane.
TitlePane: A TitlePane is a pane that contains a title on the top. Which can be opened and collapsed. If an arrow button is left to right then the tilepane is collapsed and top to bottom then it is opened. In opened format you can see the all contents that has TitlePane. If you enter the title of titlePane then you enter the title tag.
Try Online: TitlePane
Here is the code of Program:
Recommend the tutorial