My code:
<main vocab="http://schema.org">
<article typeof="NewsArticle">
<h2 property="headline">Wie instaliert Virtual Box in Windows 10</h2>
<link property="image" href="http://htmlkurss.xyz/Bilder/Virtualbox.png" />
<meta property="name" content="Virtual Box" />
<meta property="mainEntityOfPage" content="http://google.de" />
<meta property="datePublished" content="2019-03-07" />
<meta property="dateModified" content="2019-03-17" />
<span property="publisher" typeof="Organization">
<link property="name" href="http://htmlkurss.xyz" />
<span property="logo" typeof="ImageObject">
<link property="contentUrl url" href="http://htmlkurss.xyz/Bilder/Virtualbox.png" title="VirtualBox"/>
</span>
</span>
<div property="text">Virtual Box ist eine Virtualisierungssoftware, die viele Betriebessysteme emulieren kann. Sie funktioniert mit Linux , Mac und Windows. Sie hat auch veschiedenene Sprachen für ihre Oberfläche, wie beispielsweise Deutsch, Englisch ,...
</div>
<span property="author" typeof="Person" >
<meta property="name" content="http://htmlkurss.xyz" />
</span>
</article>
Google Structured Data Testing Tool says that all is good, except this piece:
<span property="publisher" typeof="Organization">
<link property="name" href="http://htmlkurss.xyz" />
For name
, it says:
Not selected Type
but when I use meta
, it doesn’t give this warning:
<span property="publisher" typeof="Organization">
<meta property="name" content="http://htmlkurss.xyz" />
But I read the best solution when giving an URL is to use <link>
and href=""
.
What can I do to prevent the "Unspecified Type" warning?