The use of HTML in dialogues allows you to customise the layout and design of text and numbers. However, the amount of actual HTML tags that are supported are limited to basic sets, like header tags, paragraphs, bold, italics, color, center. Imagine making and old school HTML 4 page.
If you can understand Google's Developer instructions, you should be able to determine the tags usable by going to https://developer.android.com/reference/android/text/Html.html#FROM_HTML_MODE_LEGACY
The list is actually quite small. You can use some CSS values, but only for changing colour of text.
There may be others. They will be added!
WikiD Instuctables is a not-for-profit venture by CommWi Projects. CommWi Projects or any person affiliated with, are not in any official way, affiliated, endorsed, sponsored or licensed by any of the software, hardware, companies or persons documented on this site. Please address any Copyright or IP concerns to myself so they may be dealt with appropriately. Content hosted on this site, unless otherwise stated, is provided under the license Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).