# Headings and Subheadings

In Paligo, each topic has a section element and a title element. The title element acts as the main heading for the topic. But how do you add subheadings to your topics?

The simple answer is that you do not add subheadings in structured content. Instead, you should create your subsections as separate topics and then either:

• Arrange them in a hierarchy in a publication.

For HTML5 outputs, you can use the hierarchy and also use chunking to control whether subsections appear as separate pages.

• Add them as components to other topics. This is like embedding a topic inside another topic and is useful if you want to see the main section and subsections in the same topic while editing.

When you publish, Paligo automatically assigns the appropriate heading levels based on the structure of your publication and content.

The reason for this approach is that it makes your subsections more reusable, as you can reuse just the subsection without the "main" section.

However, there may be times where you want to have a subsection that you do not want as a separate topic as you know it will never be used elsewhere. You can do this in Paligo by adding a second section element.