Edit This Code:
<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../lib/w3.css">
<body class="w3-container">

<p>Hover over the picture!</p>

<div class="w3-tooltip">

<div class="w3-container w3-teal w3-text">
<p>A car is a wheeled, self-powered motor vehicle used for transportation.
Most definitions of the term specify that cars are designed to run primarily on roads,
to have seating for one to eight people,
to typically have four wheels. (Wikipedia)</p>
</div>

<img src="img_car.jpg" alt="Car" style="width:100%">
</div>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy