Importance of minimal markup on a page
-
Moz.com's 2013 SEO study gave some value to "Total # of Characters in the HTML Code" (https://moz.com/search-ranking-factors/2013). Is having minimal HTML on a page still a ranking factor, even if not a huge one?
-
The study was looking at the correlation between the amount of HTML and higher Google rankings. Although I don't believe it's an actual ranking factor, we typically find a small but positive correlation with longer content pieces. The simple explanation being that longer content has more "stuff" to rank for, and there's a corresponding correlation to longer content and links earned, which also helps with rankings.
-
More than "minimal", "working" html, css etc is probably a ranking factor - if not directly, then via good UX.
"Minimal" is a somewhat problematic attribute in my opinion. In some context, you can have really minimalised code; in many contexts, best practices should be applied - if only to better maintain code, markup etc. Sometimes you do face technical or ressource restrictions and sometimes, non-minimal practices are just better. (All-time favourite: A certain wordpress plugin that minifies code, in theory speeding up loading time; in practice it oftentimes quadruples the loading time due to its own execution. Nothing won there.)
Moz has now taken to see small markup as a spam signal (whyever) - one of my pages gets the warning that "Site Mark-up is Abnormally Small There's a high ratio of visible text compared to HTML, JavaScript, etc." Well yes, it is self-coded and has pretty much nothing that is not needed, making concessions only for having source code that is readable by humans as well. This should for sure not be seen as a call to make bigger source code when it is not necessary.
TL;DR: Clean code without unnecessary stuff helps in maintenance and with finding errors should they appear; more than minifying code, I'd worry about page speed and functionality.
-
Well, that was from 2 yrs ago, but even then it really wasn't a huge ranking factor. Having minimal HTML code on a page is not something I would be concerned about at all.
Just make sure your HTML code does not contain tables.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Wrong Pages Ranking
Good Afternoon We had an issue a while ago with the incorrect pages ranking in Google for some of our key terms. For example the page ranking for the term in Hotels in Spain was an individual information page for one particular hotel in Spain rather than the top level page which is optimised for "Hotels in Spain" The individual property page was ranking around 36-40 so we tightened up all the internal linking structure to ensure the term "Hotels in Spain" was pointing to the correct page and de-optimised the individual property page for the term. After a few weeks, everything seemed to be working and we were ranking top of second page for correct page however, ranking report today has reversed our good fortune and the incorrect page is ranking in a low position Any further suggestions or advise would be very much appreciated. Ideally, I don't want to remove the page that is ranking as it's still relevant for a search for that particular hotel
Intermediate & Advanced SEO | | Ham19790 -
Home Page Authority
My site has several different homepage versions. I am running on the Volusion eCommerce. www.mydomain.com - Page Authority 44
Intermediate & Advanced SEO | | PartyStore
www.mydomain.com/Default.asp - Page Authority 33
www.mydomain.com/default.asp - Page Authority = 33 So here is the question, is it normal to have different page Authorities for each version? Is this diluting my SEO for the homepage? Any input on this would be appreciated.0 -
Internal links to preferential pages
Hi all, I have question about internal linking and canonical tags. I'm working on an ecommerce website which has migrated platform (shopify to magento) and the website design has been updated to a whole new look. Due to the switch to magento, the developers have managed to change the internal linking structure to product pages. The old set up was that category pages (on urls domain.com/collections/brand-name) for each brand would link to products via the following url format: domain.com/products/product-name . This product url was the preferential version that duplicate product pages generated by shopify would have their canonical tags pointing to. This set up was working fine. Now what's happened is that the category pages have been changed to link to products via dynamically generated urls based on the user journey. So products are now linked to via the following urls: domain.com/collection/brand-name/product-name . These new product pages have canonical tags pointing back to the original preferential urls (domain.com/products/product-name). But this means that the preferential URLs for products are now NOT linked to anywhere on the website apart from within canonical tags and within the website's sitemap. I'm correct in thinking that this definitely isn't a good thing, right? I've actually noticed Google starting to index the non-preferential versions of the product pages in addition to the preferential versions, so it looks like Google perhaps is ignoring the canonical tags as there are so many internal links pointing to non-preferential pages, and no on-site links to the actual preferential pages? I've recommended to the developers that they change this back to how it was, where the preferential product pages (domain.com/products/product-name) were linked to from collection pages. I just would like clarification from the Moz community that this is the right call to make? Since the migration to the new website & platform we've seen a decrease in search traffic, despite all redirects being set up. So I feel that technical issues like this can't be doing the website any favours at all. If anyone could help out and let me know if what I suggested is correct then that would be excellent. Thank you!
Intermediate & Advanced SEO | | Guy_OTS0 -
Is it OK to Delete a Page and Move Content to a Another Page without 301 re-direct
I have a page "A" that I want to completely delete and move the written content from A" to page "B". Since I am deleting "A" (not keeping page) is it OK to upload the content from "A" to page "B" and search engines will give "B" credit for the unique content? Or, since the content has already once been indexed on "A", "B" may struggle to get full credit for this new unique content, even though page "A" is deleted?
Intermediate & Advanced SEO | | khi50 -
Home page mysteriously not ranking at all
Hey everyone, I'm baffled by a situation. I started working on www.hushabyephotography.com almost 3 months ago. The first thing I did was changed the address (was previously blog.hushabyephotography.com) and updated all of the links pointing from the old name to the new "www" and used 301 redirects for canonicalization. Have also built some additional links, added content to the site, and performed on-page optimization to rank for the primary key phrase "san diego newborn photography". But ranking is no where to be found, I searched for the key phrase, and at rank 190 is a random subpage, not even the home page. The listing had also disappeared from Google Places a few weeks ago after the client updated their listing (which I believe was the result of the known Places bug (http://www.seomoz.org/blog/why-you-may-need-to-hide-your-google-places-address-asap). I'm at a loss here for ideas, as I've never failed to at least have a site on the radar. There aren't any spam links so I don't think any penalties are the result. One last thing, it ranks on page 2 in both Bing and Yahoo... Please help me out Mozzers!!! 😕
Intermediate & Advanced SEO | | Joes_Ideas0 -
Too many on page links - product pages
Some of the pages on my client's website have too many on page links because they have lists of all their products. Is there anything I should/could do about this?
Intermediate & Advanced SEO | | AlightAnalytics0 -
Are links to on-page content crawled / have any effect on page rank?
Lets say I have a really long article that begins with links to <a name="something">anchors on the same page.</a> <a name="something"></a> <a name="something">E.g.,</a> Chapter 1, Chapter 2, etc, allowing the user to scroll down to different content. There are also other links on this page that link to other pages. A few questions: Googlebot arrives on the page. Does it crawl links that point to anchors on the same page? When link juice is divided among all the links on the page, do these links count and page rank is then lost? Thanks!
Intermediate & Advanced SEO | | anthematic0 -
Google swapped our website's long standing ranking home page for a less authoritative product page?
Our website has ranked for two variations of a keyword, one singular & the other plural in Google at #1 & #2 (for over a year). Keep in mind both links in serps were pointed to our home page. This year we targeted both variations of the keyword in PPC to a products landing page(still relevant to the keywords) within our website. After about 6 weeks, Google swapped out the long standing ranked home page links (p.a. 55) rank #1,2 with the ppc directed product page links (p.a. 01) and dropped us to #2 & #8 respectively in search results for the singular and plural version of the keyword. Would you consider this swapping of pages temporary, if the volume of traffic slowed on our product page?
Intermediate & Advanced SEO | | JingShack0