What is title attribute in WordPress, you ask? This is an attribute commonly added to links and images that allows you to provide extra information about those links and images. Hence, users will know what to expect as they hover over (or click) the link or image.

Read on to learn more 👨‍🎓 about title attributes, their purpose, benefits, and how you can set them up.

What is title attribute in WordPress and what are its benefits?

You use the title attribute to provide additional details on different parts of your site, including your main menu, images, and links. This title attribute appears as a tooltip when users hover over HTML elements with that attribute.

Adding a title attribute to your WordPress navigation menu results in easier navigation. Moreover, users get an idea of where they’re going before they click on a link. Hence, title attributes make links and other elements more comprehensive to your site visitors.

Adding a title attribute to WordPress pages can also be beneficial for SEO. Users get more context before clicking anchor text. Hence, you can improve your click-through rates, which can also indirectly help with your SEO rankings.

Furthermore, adding title attributes to WordPress gives you flexibility in terms of menu design. For menu items, you can choose names that match your brand’s identity. You can even add a call to action in the title attribute, so hesitant visitors will be motivated to explore your site.

👉 However, don’t use a title attribute in all contexts. For example, it would be repetitive to add a title attribute if the anchor text already tells users what a particular link is about.

How to set up a title attribute to the WordPress menu

Besides asking what is title attribute in WordPress, you should also know how to set up that title attribute. Go to Appearance and then the Menus page. Choose the Screen Options tab that you see on the screen’s top right corner. In the section Show advanced menu properties, check Title Attribute.

Enable title attribute.

Then, in the Menu Structure section, click on the menu item that you wish to provide a title attribute for. You’ll see the Title Attribute box in the Navigation Label.

Title Attribute in WordPress.

Enter the extra information you want for a particular menu item. Do the same for the other menu items in your WordPress navigation menu. Once you’re all set, just click Save Menu. You’ll see the title attribute as a tooltip on mouseover.

Conclusion 🤓

A title attribute offers extra information about an image, a link, or a menu item. As a result, users can predict where a link will take them before clicking.

Given the additional context and the influence on click-through rates, a title attribute can help with SEO. It also allows you to get creative with the name of your menu items to match your brand’s voice. Want to rebrand or optimize for SEO? Check out the larger topic of 👉 how to change your WordPress site’s title.

Free guide

4 Essential Steps to Speed Up
Your WordPress Website

Follow the simple steps in our 4-part mini series
and reduce your loading times by 50-80%. 🚀

Free Access

0 Comments
Inline Feedbacks
View all comments

Or start the conversation in our Facebook group for WordPress professionals. Find answers, share tips, and get help from other WordPress experts. Join now (it’s free)!