Hi Marga,
In the Text widget itself, Mendix provides out of box feature to configure the texts in Heading and subheading,
Here, in the image we can see, there is option provided us to select the heading type,
also if you want your text to look like simple text without any boldness, and still be in different lines, you can select paragraph option from the dropdown.
Hope it helps!!