I know JavaScript will help. But there is no way to write such hover tags?
Asked
Active
Viewed 45 times
-5
-
2How is this related to PHP? – brombeer Feb 13 '18 at 12:02
-
Please show us some code that you tried. What are the actual results and what are the expected results? – floverdevel Feb 13 '18 at 12:05
-
3Possible duplicate of [How to write a:hover in inline CSS?](https://stackoverflow.com/questions/1033156/how-to-write-ahover-in-inline-css) – Ferran Buireu Feb 13 '18 at 12:07
-
This is not related to php. but php is related to html. @ kerbholz – ilayaraja r Feb 20 '18 at 07:59
1 Answers
0
Not sure what you exactly mean but it shouldn't be too different from this. Here I use the onmouseover
attribute to achieve your description.
<a href="#" onmouseover="alert('Hello world')">This is a link</a>
You can then replace the alert()
with a custom function in js to do what you want.

Ezekiel Sebastine
- 250
- 4
- 9