Hello, I'm looking into changing the text to display a new message when someone hovers over it. Is there a way this can be achieved using just HTML without any CSS? Below are the codes that I have been experimenting with lately:
HTML Code:
<a href="#" class="button">
<span>Product Name</span>
</a>
CSS Code:
.buton:not(:hover):before {
content: "Old Text";
}
.btn_action_1 span:hover:before {
content: "New Text";
}
I am interested in achieving the same effect but using only HTML. Is this possible? It would make things much simpler for me since I have various elements to work with. Thank you!