Answers for "how to show text on hover html"

2

html mouse over text

//When you hover over the word "hello" the text "goodbye" will appear
in a small box
<a href="./####" title = "goodbye" >hello</a>
Posted by: Guest on December-18-2020
0

html show text on hover

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<style type="text/css">
	.par{
		color: white;
		border: 1px solid black;
		width: 400px;
		
	}
	.par:hover {
		background-color: skyblue;
		transition: 1s;
		cursor: pointer;
	}
	</style>
	
</head>
<body>
<p class="par" ><font color="white">hello thank you for hovering</font></p>
</body>
</html>
Posted by: Guest on June-23-2021

Browse Popular Code Answers by Language