I know
di<
will delete in an HTML tag itself.
Is there an easy way to delete text in between two tags?
dit will delete the text between matching XML tags. (it is for "inner tag block".)
dit
it
See :h it and :h tag-blocks.
:h it
:h tag-blocks