Edit This Code:
See Result »
<!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 sentence below!</p> <p class="w3-tooltip">London <span style="position:absolute;left:0;bottom:18px" class="w3-text w3-tag w3-red"><b>9 million</b></span> is the capital city of England.</p> </body> <!-- Mirrored from www.w3schools.com/w3css/tryit.asp?filename=tryw3css_tooltips_color by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 13 Mar 2016 11:04:52 GMT --> </html>
Result: