logo microdata in meta
I am trying to do organisation microdata for my website but I was wondering if it is possible to put your logo into a meta tag - all examples I have see are like this:
<div class="home" itemscope itemtype="http://schema.org/Organization"> <a target="_blank" rel="nofollow noreferrer" target="_blank" rel="nofollow noreferrer" href="/" class="nav-link" itemprop="url"> <meta itemprop="name" content="Company name"> <meta itemprop="description" content="The best company ever"> <img src="logo.png" itemprop="logo" alt="Company logo"> </a> </div>
However my logo is going to be made up of two sprites as they get animated to make the header smaller when you scroll down the screen so I don't actually have an image tag (and don't want to include one as it would mean an extra request for nothing)
Is it possible to do something like this?
<meta itemprop="logo" src="logo.png">
If so, what is the correct syntax - would I use
content like with the name and description
As it turns out you use a
link tag instead of a
<link itemprop="logo" target="_blank" rel="nofollow noreferrer" target="_blank" rel="nofollow noreferrer" href="logo.png" rel="logo">
- → How do I call the value from another backed page form and use it on a component in OctoberCms
- → Inline JS callback syntax Vs Internal JS callback syntax
- → Prevent form action from being followed by robots
- → How to remove parameters from the root URL if it does I18n
- → SEO Canonical URL in Greek characters
- → Htaccess negation
- → Wrapping anchor elements with text
- → Adding schema.org to site
- → dynamic php title depends on page id and using of "if (isset"
- → Building sitemap for 2 wordpress install under 1 domain
- → Bigcommerce Repeating url
- → 301 Redirection from no-www to www in wordpress
- → Wrapper inside or outside HTML5 semantics main, which is best practice?