For further actions, you may consider blocking this person and/or reporting abuse
Read next
What is, in fact, HTML and do we still need it in 2024?
Serhii Babich -
I launched my real-time AI-powered meeting & interview copilot
Thomas Bradley -
Choosing the Right CSS Approach: Tailwind CSS vs Bootstrap vs Vanilla CSS
Parul Verma -
Weekly Bites #1: Your Curated Tech Digest 🌟
Wojciech Trawiński -
Top comments (4)
I guess it depends on what kind of framework you are using (if you are).
If you use bootstrap tooltip, then yes, it's easily possible, using
data-html
attribute, and set it totrue
. Likedata-html="true"
It's in the documentation
Thank you so much for your response. I am familiar with bootstrap but right now I am using Materialize CSS framework. What I want to do is to make a table within the tooltip
As far as accessible HTML, it may be a good candidate for a non-modal dialog element, especially if the table is interactive. Basically you add it after the tooltip and then add the open attribute when tooltip is clicked. Unfortunately it has limited browser support but the accessibility mechanics can be replicated with role=dialog and some JavaScript.
Thank you so much for you support and reponse