Wordpress Contact Form 7 success message Issue

I have one problem in the WordPress contact form 7. I want to add the HTML code in the contact form 7 success and error Message but when I have put the HTML tag then it will be showing an error.
please tell me if any other way to do it. actually, I want to show the message design like the bootstrap message below are an example

<div class="alert alert-success" role="alert">
  <b>Thanks for contacting us.</b><br>
     some text here <br>
    <a href="url">some text here</a>
</div>

How can I do this if anyone knows the way please share with me?

This may be a question better suited for the wordpress forums, for it requires more specialized knowledge than what the typical audience here may be familiar with :slight_smile: