Do not hyperlink menu heading

If this is for a dynamic menu you can use a ‘Custom Links’ and use a # for the URL then click add to menu.

Once it’s in the menu, remove the # from the URL in the menu and save the menu.

It’ll then be a text only no link item. (you can then add sub menu’s that are linked) which is what I use this method for.