V
V
vasmed2019-03-07 11:30:09
HTML
vasmed, 2019-03-07 11:30:09

Is it necessary to set the itemtype attribute in microdata?

Is it necessary to specify the itemtype in order to use microdata correctly?
That is, you need it like this:

<dd itemprop="address" itemscope
itemtype="http://data-vocabulary.org/Address">
<span itemprop="street-address">100 Main Street</span>
</dd>

or you can do it like this:
<dd itemprop="address" itemscope>
<span itemprop="street-address">100 Main Street</span>
</dd>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question