How to create a tooltip in WordPress

Have you ever wanted to add a tooltip in WordPress? It is truly very simple, once you know how to do it.

Let’s say you have the word “lollipop” in your content and when your reader hovers the cursor over the word, you want to describe a lollipop.

  1. While you are editing a page, click the HTML tab.
  2. Find the word “lollipop” in your text.
  3. Use the following format to replace the word lollipop: <a title=”A type of candy on a stick.” href=” “> lollipop </a>

Save your changes and you are finished.

If you want to see how this works live, go to this page and hold your mouse over the pink text.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s