I am trying to make text appear when mouse hovers over another text. FOr this I am using the following code:
<style>
#para1 {
visibility:hidden;
}
#p2:hover, #para1 {
visibility:visible;
}
</style>
</head>
<p id="para1">Hello World!</p>
<p id="p2">This paragraph is not affected by the style.</p>
This is however not working. Please suggest.