I to try to add an Image on my Code , how to tell here ,because Google Structured Data force it... , but every Time I come an error.. My Code;
<main vocab="http://schema.org">
<article typeof="NewsArticle" lang="en">
<img property="contentUrl url" src="/index.php/Bilder/Virtualbox.png" alt="VirtualBox"/>
<header>
<h2 property="headline">Wie instaliert Virtual Box in Windows 10</h2>
<br>
<p property="description">News item summary goes here.</p>
</header>
<span property="name" value="Virtual Box"/>
<span property="mainEntityOfPage" value="http://google.de"/>
<span property="datePublished" value="2019-03-07"/>
<span property="dateModified" value="2019-03-17"/>
<span property="publisher" typeof="Organization">
<span property="name">http://htmlkurss.xyz</span>
<span property="logo" typeof="ImageObject">
<img property="contentUrl url" src="/index.php/Bilder/Virtualbox.png" alt="VirtualBox"/></span>
</span>
<p 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 ,...
</p>
<footer>
<p property="author" typeof="Person">Autor: <span property="name">http://htmlkurss.xyz</span></p>
<p>Korrekturen: <span property="editor">Rolf B</span></p>
</footer>
</article>
I don't know how does it ...
Can Please anyone help me for this Problem , Very Thanks !
New Edit:
unor tell here how to prevent it ,with hasPart ..., i does it..
I write on <article property="hasPart" typeof="NewsArticle">
, and come not more error , but come a Red cross , how the Screenshot to show..
span
element can’t have avalue
attribute? And here is another error: you can’t self-close it either, it needs a</span>
.image
?image
). The comments are not the right place to include the markup.