Attribute alt wordpress hosting

Recently, one of our readers asked if there’s a way to add title attribute in WordPress menus. Title attribute allows you to provide extra information about a link. It often appears as tooltip text when the mouse moves over the link. In this article, we will show you how to add title attribute in WordPress navigation menus.

Title attribute is an HTML attribute that can be added to any element, but it is most commonly used with links and images.

Attribute alt wordpress hosting please subscribe

It allows you to provide additional information about the link or the image. See our guide on the difference between what’s the difference between image alt text vs title.

Typically web browsers display the title attribute on mouseover. This allows users to see where this link will take them before they click on it.

Screen readers may also read title attribute, but many screen readers will ignore it and will only read the anchor text.

Some SEO experts believe that it is not useful while others claim it is useful for SEO as it allows you to provide more context.

WordPress removed title attribute from insert link popup in version 4.2. However, you can easily add the title and rel=nofollow options in insert link popup.

Having said that, let’s take a look at how to add title attribute in WordPress navigation menus.

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

First you need to visit Appearance " Menus page and click on the ‘Screen Options ‘ tab in the top right corner of the screen.

This will bring down a menu where you need to click on the check box next to Title Attribute option.

After that, simply scroll down and click on any menu item in your existing menu to expand it. You will now see the title attribute field.

You can now add the text you want to use as title and then repeat it for all menu items in your navigation menu.

Don’t forget to click on the save menu button to store your changes.

You can now visit your website and take your mouse to a link in navigation menu. You will see the title attribute displayed as tooltip.

You can take title attributes even further with jQuery by adding fancy tooltips on mouseover effect.

We hope this article helped you learn how to add title attribute in WordPress navigation menus. You may also want to see our list of 15 best tutorials to master WordPress navigation menus .

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook .

Watch this video!

Related articles

Collapsible navigation wordpress hostingDo you want to add navigation menus in your WordPress site? Did you know that there is a very easy drag-and-drop menu interface that allows you to create drop-down menus in WordPress. In this...
Web hosting hub wordpress tutorialIn this tutorial: Install Setup Optimize In this tutorial we will show you how to Optimize your WordPress Images. using the EWWW Image Optimizer plugin. When you optimize images it can make...
Insert page break wordpress hostingWhen creating or editing a WordPress page or blog post, you can easily add images at any time using the WordPress Media Uploader tool. Here’s how to add an image, step-by-step, using the media...
Multiple news feeds wordpress hostingRecently, one of our users asked if we could cover how to create a custom Facebook feed in WordPress? You can display Facebook posts from your page or group on your WordPress site to improve...
Akismet key free wordpress hostingDescription Akismet takes the pain out of managing comment spam. It ensures that that spam doesn't mess with your search engine rankings, and gives you more time to connect with your readers,...