If you want to work with HTML style code, you can use the widget HTML Snippet and add your HTML there.
If you want to do it in Mendix style, you can use tables/grids and separate text items instead of one big block.
Does that sound like what you are looking for?