To remove that shortcode clear any plugin cache and CDN if you are using one.
Then, that shortcode needs to be added in the Contact Us page, making sure that the page is set to Text not Visual (You always place shortcodes and html in the Text version of the page editor).
How do I clear plugin cache and what is CDN?
*If* you are using a caching plugin (e.g. SuperCache, Fastest Cache, Rocket Cache, Quick Cache) then in your WordPress admin dashboard menu you will be able to enter the plugin admin section and delete the cache in the relevant section. If you don’t know what a CDN is then you probably aren’t using one.
I have another suggestion. Go into your WordPress/theme Menu section and check the class field for the Contact Us menu item. It looks like the shortcode may have been placed in that field in error (“class” is used with CSS to assign a style to a particular element). If you find it there, delete it.
The Contact Form 7 shortcode [contact-form-7 id=”9? title=”Contact form 1?] should be inserted in the TEXT field of Pages >> Contact us
I am using W3 Total Cache and none of the settings were enabled. I found out where to find CDN and it isn’t even enabled. I have no idea what the function is even for, therefore not even using it. I deleted that code and refresh the site. Despite the visual and text being empty, the code is still there. I have copied and pasted the code into text section. I have tried going to CSS to find the class and no luck because so many class codes. Would that code go away from that section if I uninstall and then, reinstall that plugin?
I haven’t used W3 Total Cache, but here is a tutorial explaining how to clear the cache with that plugin: W3 https://www.youtube.com/watch?v=w3eKpu2l6F0
That should resolve things.
I would be avoid just uninstalling W3 Total Cache from the WP admin. There is a sequence of steps you would need to follow for this plugin.
I have finally disabled the code. I found out why the code is appearing under the tab. It’s not an error. It has more to do with the theme that I am using. The navigation menu has an option for description for tabs.
Happy to hear that you have found the solution.