- Data on hidden elements

How would search engines react if i made a hidden field with schema data in it?

$100.00 USD

The reason I'm feeling forced to do this is because when I use Google Webmaster Tools to make my schema it requires the price to be tagged.

So do i really need to tag the price, and what would happen if i tagged a hidden price? Keep in mind I don't want to show the price in this specific case.


You want to hide the microdata by using the meta tag.

For example,

<div itemscope itemtype="">
    <span itemprop="name">Funky Skirt</span>
    <div itemprop="offers" itemscope itemtype="">
        <meta itemprop="price" content="100.00" />
        <link itemprop="availability" href="" />In stock

This is a better way to hide microdata than using css because Google doesn't like it when content is hidden with either

visibility: hidden;


display: none;

Hope this helps.

Another thing to keep in mind, though, is that if you want Google to display a rich snippet for your product, you must mark up at least the product name, info, offer/price, and the ISO currency code. So by hiding the price to visitors by using a meta tag, you basically disqualify your product markup for a rich snippet. You may or may not care about that, but I just thought I'd mention it.

Need Your Help

iOS - Flag entire Document directory as do not backup

ios nsfilemanager

My application got rejected by Apple due to :

Bitwise Multiply and Add in Java

java bit-manipulation bitwise-operators multiplication addition

I have the methods that do both the multiplication and addition, but I'm just not able to get my head around them. Both of them are from external websites and not my own: