Unfortunately the flavor of markdown kibana supports doesn't support html tags - https://www.elastic.co/guide/en/kibana/current/markdown-widget.html
however you might develop a plugin to do this - https://www.elastic.co/guide/en/kibana/current/plugin-development.html