可以使用带有 itemprop="name" 属性的 <meta> 标签吗?

Is it okay to use <meta> tag with itemprop="name" attribute?

我遇到以下问题:我的产品页面上的品牌名称显示为图片,所以我无法使用类似的东西

<span itemprop="name">${brandName}</span>

因为在这种情况下品牌名称会显示两次。

所以,我决定添加带有品牌名称的元标签,以纯文本标签的形式书写,这样用户就看不到了:

<meta itemprop="name" content="${brandName}"/>

是正常解吗?

Meta 标签是正确的选择!

Sometimes, a web page has information that would be valuable to mark up, but the information can't be marked up because of the way it appears on the page. The information may be conveyed in an image (for example, an image used to represent a rating of 4 out of 5) or a Flash object (for example, the duration of a video clip), or it may be implied but not stated explicitly on the page (for example, the currency of a price).

Schema Getting Started