Custom Component - Html between the start and end tag

I understand how I can pass a parameter to a custom component. Is it also possible to insert html between the start and end tag? How can I display it?

<my-component><H1>How to display this data</H1></my-component>

You can use @Content to display it in the Component.

Exactly what I was looking for. Thanks