Reputation: 87
I have created a react app with around 10 components. I have added meta tag using Helmet.
But when I inspect source from browser, but meta tag shows some random imdb the rock type thing.
Any suggestions will be appreciated.
<Helmet>
<meta charSet="utf-8" />
<title>My Title</title>
<link name="description" content="some test description" />
</Helmet>
Upvotes: 2
Views: 873
Reputation: 8479
You cannot inspect meta tags from html source, because:
If you want to check meta tags:
For example, open developer console and you can find link
tag as follows:
document.querySelector("link[name=description]");
Upvotes: 0