tooltip { position: relative; display: inline-block; border-bottom: 1px dotted black; } .tooltip .tooltiptext { visibility: hidden; width: 400px; background-color: black; color: #fff; text-align: left; border-radius: 6px; padding: 5px 0 5px 10px; position: absolute; z-index: 1; bottom: 125%; left: 50%; margin-left: -60px; } .tooltip:hover .tooltiptext { visibility: visible; } ————————————————————————— Then, on text mode, select the word(s) you want to tooltip and paste this code :