Hot answers tagged

42 votes
Accepted

How to improve extremely slow page load time on a 23MB web page full of SVGs?

From what you've stated in the comments (now chat), I understand that you cannot reduce the size of these SVG files, you cannot replace them with thumbnails (e.g. small png files), and you cannot ...
user avatar
24 votes

How to improve extremely slow page load time on a 23MB web page full of SVGs?

I don't think using separate SVG files for the images would be any better because that would take even more time to load because of separate HTTP requests. Efficient handling of linked images is ...
user avatar
  • 341
18 votes

On what specific grounds were HTML Imports rejected, deprecated and removed?

After reading several articles on this, the general consensus is that HTML Imports were redundant, since you need JavaScript to bring them alive anyways (they don't just automatically add themselves ...
user avatar
16 votes
Accepted

How to specify publisher in schema.org's Article structured data?

Something like this, though of course other properties are required for this to meet Google's requirements for article features in search results. <div itemscope itemtype="http://schema.org/...
user avatar
  • 7,741
12 votes
Accepted

Self-referential hreflang attributes for single language website?

There is no benefit in using the hreflang on a single language website, it is meant exclusively for multilingual and international websites. I am not suggesting that Google (or other search engines) ...
user avatar
  • 1,077
11 votes
Accepted

Will it help SEO to use <strong> tags just around a keyword while making a larger containing phrase bold using CSS?

Don't use strong tags inside an already bolded sentence. It looks spammy. It is something that you are obviously only doing for search engines and not for users. Google hates it when it finds ...
user avatar
10 votes
Accepted

How to use more than 1 schema.org schema on a web page

In JSON-LD (instead of Microdata/RDFa) you have to repeat the property and its value for each node. Instead of using a separate script element for each node, you could also use a single script ...
user avatar
  • 21.5k
9 votes

When using a stacked font-family, what does the browser use when NONE of the specified fonts are present?

It will not use the browser default font. But rather it will use the default sans-serif font. Since the last font in the font stack is not a specific font. It is a generic name. Some browsers allow ...
user avatar
  • 91
9 votes
Accepted

schema.org/Book with multiple authors using JSON-LD

your code contains error, thats why two authors aren't recognized. If you have more then one author, you should add them as list without entity duplication. Here the correct code: <script type="...
user avatar
  • 9,599
8 votes

Self-referential hreflang attributes for single language website?

There are no tangible benefits from using the hreflang attribute, beyond special usage like the one described by Google. It is declarative markup and does not cause any action or affect rendering, ...
user avatar
7 votes
Accepted

Do links in SVG tags have a negative impact on SEO?

This answer hugely depends on what you are expecting as an answer. Google has not, and will not, reveal exactly how much weight each element is worth, nor am I aware of any case study that has proven ...
user avatar
  • 32.6k
6 votes
Accepted

Can microdata be implemented in meta tags?

Your plan of using meta data for microdata is not viable. Here is Google's FAQ about why it isn't showing your data in the search results: Is your marked-up content hidden from users? In ...
user avatar
6 votes

Why isn't the HTML break tag acceptable anymore for top and bottom margins?

why is using multiple consecutive line breaks in HTML considered a bad practice Because it breaks the fundamental principle of separation of concerns: by mixing the "content" and "presentation" ...
user avatar
  • 41.3k
6 votes
Accepted

Correct usage of Brand from schema.org

What is the correct usage of using the brand schema from schema.org? There is not one "correct usage" – it depends on what you want to convey. If you want to say something about a brand, you can use ...
user avatar
  • 21.5k
6 votes

CSS text-decoration:underline doesn't work on a:visited selector

The functionality of :visited pseudoclass has been restricted in many modern browsers (Fx4, IE9, Chrome) to prevent CSS exploit. You can read about it here, but the crux is: For many years the CSS :...
user avatar
6 votes

Difference between px and em in html5

Pixels is absolute. If you tell it to be 30px, it's gonna be 30px, no matter how you use it. EM is relative. It multiplies with the inherited definition it has. 30em makes it 30 times the inherited ...
user avatar
  • 6,736
6 votes

Will it help SEO to use <strong> tags just around a keyword while making a larger containing phrase bold using CSS?

That wont make any difference for crawlers only for users when reading, bold/strong is used to mark the "main" point in your text. If you want to assist crawlers you should include your keyword in: ...
user avatar
5 votes
Accepted

<h1> - Semantic impact vs. SEO impact

To begin, none of your examples have anything to do with semantics. Your question is based completely on the parser model where the page is read top-to-bottom in the traditional way. For this reason, ...
user avatar
  • 32.5k
5 votes

For SEO of the company name, should we use a logo with alt text or a company name div replaced in CSS with an image?

The logo is content, not presentation. So it should be included in the HTML, not in the CSS. Therefore using the img element is the appropriate choice. However, you should not use the alt value "Logo"...
user avatar
  • 21.5k
5 votes

Does html5 picture tag affect SEO?

It won't have a positive effect on your SEO. For search engines, as for screen readers, the alt tag and the on-page caption are the big factors. The <picture> tag is more of a developer ...
user avatar
5 votes
Accepted

Is it okay for SEO to wrap block elements in a link?

Yes, it is fine and even advisable to put block elements inside an a element where appropriate, as long as the browser supports HTML5 (all modern browsers do): The a element may be wrapped around ...
user avatar
4 votes

Can microdata be implemented in meta tags?

Using meta (and link) elements for Microdata is fine. Sometimes there is even no sensible alternative to it, e.g., if specific codes have to be provided where it would make no sense to show them to ...
user avatar
  • 21.5k
4 votes

When using a stacked font-family, what does the browser use when NONE of the specified fonts are present?

It will resort to the default font of the browser. In this case with the sans-serif specification it would look for the default sans-serif font. I think for Windows this font is Arial, and for Mac it'...
user avatar
4 votes

How to use more than 1 schema.org schema on a web page

Not looking to be a necromancer, but there was a recent article from someone at Yoast that details problems that arise with using the @Graph type when trying to get Google search to "report" the ...
user avatar
  • 823
4 votes

Universal shortened doctype for all mobile devices

The XHTML doctype is for XHTML web pages and, unless you are serving your page as application/xhtml+xml, it ain't XHTML. I'm betting you're not doing that. Writing HTML as XHTML is called "tag soup" ...
user avatar
  • 4,609
4 votes

Will search engine web crawlers see urls that are changed with HTML5 history?

Looks like it. It even looks like Google recommends using pushShate and prefers it over hash bangs.
user avatar
  • 363
4 votes

How to specify publisher in schema.org's Article structured data?

Schema.org expects an Organization item as value for the publisher property, but you provide a string value ("MyCorp"). If you want to follow Schema.org’s expectation (which is just a recommendation,...
user avatar
  • 21.5k
4 votes
Accepted

Correct way to use sameAs itemprop in Microdata

If they have visible links to these social media profiles, it’s the best practice to mark up these links, instead of repeating the links and marking up the "invisible" variant: <div itemscope ...
user avatar
  • 21.5k
4 votes
Accepted

Is there a Microdata version of JSON-LD’s "@id"?

Yes, the itemid attribute (W3C, WHATWG). Example: <div itemscope itemtype="http://schema.org/Person" itemid="/team/alice#i"> <!-- this person (not the page about this person) has the URI "...
user avatar
  • 21.5k
4 votes
Accepted

Can hreflang be placed on the body of the HTML?

Google supports: Link Hreflang HTTP Header Hreflang Sitemap Hreflang Using <link rel="alternate" href="#" hreflang="en-ie" /> within the <body>and not the <head>, testing it in W3C ...
user avatar
  • 32.6k

Only top scored, non community-wiki answers of a minimum length are eligible