Some html tag not working why?

I have used this below codes. By my style not working well in android

  1. This is for bold and italic sample
  2. This is for underline
  3. this is for italic
  4. this is for danger

1, bold is working but italic not
2, not working
3. italic working
4. danger color not working
But I want above style. How can I do that ?

You should use css/scss to format Text, see =>