Rather than using the default Text widget, you can use this HTML Snipet widget to do this
https://marketplace.mendix.com/link/component/56
Thanks for your prompt reply.
The data is stored in database.
Is there a way to combine the messgae in db and HTML widget?
Best Regards
You can build the HTML message in a microflow by creating a String and combining the elements you need before storing it as an attribute in an entity, You can then pass this into a widget like Text Template to render on screen.
https://marketplace.mendix.com/link/component/114696