Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Discover Brand Authority
      Moz Pro

      Discover Brand Authority

      Learn More
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Take the quiz
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      June 3 & 4, 2024, Seattle
      MozCon

      June 3 & 4, 2024, Seattle

      Get tickets
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature: Moz Pro

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. On-Page Optimization
    4. How best to wrap anchor tags around a product tile

    How best to wrap anchor tags around a product tile

    On-Page Optimization
    anchor tags ecommerce product listing page
    7
    7
    928
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • jtiernanibm
      jtiernanibm Subscriber last edited by

      Hi

      Say I am on a Product Listing page on ecommerce website and I have product tiles which contain images and name/price underneath them. Is it better to wrap the whole product tile (image and name/price) in an anchor tag (linking to their product page) or to wrap the image and the name/price underneath in anchor tags separately (linking to the product page) ?

      thanks

      1 Reply Last reply Reply Quote 0
      • William44
        William44 last edited by

        To wrap anchor tags around a product, you'll typically want to create a hyperlink that, when clicked, leads to a page or resource related to the product

        1 Reply Last reply Reply Quote 0
        • chitkaraamit12
          chitkaraamit12 last edited by

          A possible answer to this issue could be:

          "To effectively wrap anchor tags around a product tile, you should ensure that the anchor tag encloses the entire content of the product tile. This can be done by placing the opening <a> tag at the start of the product tile and the closing </a> tag at the end of it. Here’s a step-by-step approach:

          Start with the opening anchor tag before any of the product tile content. Add the href attribute to the anchor tag with the URL you want the user to be directed to when they click the product tile.

          Ensure that the anchor tag has display block (display: block;) style applied to it, so it takes up the full tile space. This is important for making the whole area clickable.

          Place all the HTML that makes up the product tile between the opening and closing anchor tags. This includes the image, product title, price, and any other information you wish to display.

          Close the anchor tag after all the product tile content.
          Remember to style the anchor tag to remove any default styling like underlines (text-decoration: none;) and ensure it inherits text colors (color: inherit;), so it blends seamlessly with your product tile design.

          Test the implementation across different browsers and devices to ensure the clickable area covers the entire tile consistently."

          By wrapping the entire tile in an anchor tag and ensuring the tag is displayed as a block-level element, users will be able to click anywhere on the tile to navigate to the product's detail page.

          1 Reply Last reply Reply Quote 0
          • Queen786
            Queen786 last edited by

            To wrap anchor tags around a product tile effectively:

            Use a parent container for the product tile.
            Place the anchor tag within the container.
            Ensure the anchor tag covers the entire product tile for accessibility.
            Set the anchor's href attribute to the product's page URL.
            This approach allows users to click anywhere on the product tile to access more details, improving user experience.

            1 Reply Last reply Reply Quote 0
            • educationedge012
              educationedge012 last edited by

              It's generally better to wrap the whole product tile, including the image and name/price, in a single anchor tag. This approach provides a larger clickable area for users, improving the overall user experience and making it easier for them to access the product details.
              .
              .
              .
              ( IT Business Analyst ) (

              1 Reply Last reply Reply Quote 0
              • Boucher5
                Boucher5 last edited by

                It's generally best to wrap the entire product tile in a single anchor tag for a larger clickable area and improved user experience on e-commerce product listings.

                1 Reply Last reply Reply Quote 0
                • skchad13j
                  skchad13j last edited by

                  Hi,

                  In most cases, it's better to wrap the whole product tile (image and name/price) in a single anchor tag linking to the product page. This approach provides a larger clickable area and offers a better user experience, as visitors can click anywhere within the tile to access the product details. It simplifies navigation and ensures consistency in user expectations when interacting with product listings on an e-commerce website.
                  .
                  .
                  .
                  ( Diploma Courses In Canada ) (Canada PR) (PMP Exam Prep)

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post

                  Got a burning SEO question?

                  Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                  Start my free trial


                  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.

                  • See all categories

                  Related Questions

                  • filippodanesi

                    Managing removed product pages

                    ecommerce seo redirect 301 redirect product page

                    Hello everyone, I am turning to the community for your advice regarding the optimal management of product pages that are removed after an article is sold. Considering that we operate with unique articles on our site and consequently do not have large quantities in stock, the product pages are intended to be removed once the article is sold. My question is: from an SEO point of view, what would be the most effective strategy to manage these pages? Is it preferable to apply a permanent redirect (301) to the product category, or would it be better to use the status code 410 to indicate that the page has been permanently removed?
                    I would appreciate any suggestions or experience you could share on this matter. Thank you in advance for your help.

                    Intermediate & Advanced SEO | | filippodanesi
                    0
                  • Kyle_M

                    Requiring customer agree to shipping terms at checkout

                    ecommerce conversion rate marketing

                    I work for an ecommerce company that has many of its shipments go by LTL freight. Our customer service team has issues with a few customers per month that aren't equipped to receive freight shipments which leads to returns and other issues. In an effort to better inform our customers, the customer service team is requesting that we add a checkbox to the checkout that requires customers to agree to our shipping and returns policy, including a link to the policy page. I am wondering how concerned people here would be that requiring the customer to check a box agreeing to those terms would lead to more customers abandoning during the checkout process. Or do you think it's not a concern? Thanks for your thoughts.

                    Conversion Rate Optimization | | Kyle_M
                    0
                  • WP33

                    Collections or blog posts for Shopify ecommerce seo?

                    shopify ecommerce seo

                    Hi, hope you guys can help as I am going down a rabbit hole with this one! We have a solid-ranking sports nutrition site and are building a new SEO keyword strategy on our Shopify built store. We are using collections (categories) for much of the key product-based seo. This is because, as we understand it, Google prioritises collection/category pages over product pages. Should we then build additional collection pages to rank for secondary product search terms that could fit a collection page structure (eg 'vegan sports nutrition'), or should we use blog posts to do this? We have a quality blog with good unique content and reasonable domain authority so both options are open to us. But while the collection/category option may be best for SEO, too many collections/categories could upset our UX. We have a very small product range (10 products) so want to keep navigation fast and easy. Our 7 lead keyword collection pages do this already. More run the risk of upsetting ease/speed of site navigation. On the other hand, conversion rate from collection pages is historically much better than blog pages. We have made major technical upgrades to the blog to improve this but these are yet to be tested in anger. So at the heart of it all - do you guys recommend favouring blog posts or collection/category pages for secondary high sales intent keywords? All help gratefully received - thanks!

                    SEO Tactics | | WP33
                    2
                  • WP33

                    Shopify SEO - Collection or Blog post for ecomm seo?

                    shopify ecommerce seo tactics

                    Hi Moz folks, would love your thoughts on benefits of Shopify collection pages v blog posts for ranking secondary shopping keywords not suitable for existing shop pages - all help gratefully received, we are going down a rabbit hole on this one and need some sanity! So, we’re updating our site which already has a reasonable seo foundation and are looking to rank better for key shopping search keywords in our space (d2c sports nutrition). My question is should we prioritise store collection pages (category pages in Shopify terms) or blog posts for some of the main keywords not already covered by our core in-store collections/categories? Priority keywords already covered are things like protein powders, protein bars, energy drinks, etc. As context, we have a small product catalogue (10 products) and for easy navigation on site have these grouped into 7 collections/categories in the main menu and available from the homepage. All are quality high volume and high intent shopping keywords for our business. The secondary terms we are now looking to add content for are things like marathon nutrition, vegan sports nutrition, etc so now ​need to choose if we create product collection pages for these, or use blog posts to do the work. The advantage of collections, we believe, is that Google is likely to prioritise these in search. The disadvantage from a UX point of view is that more categories in store could make our simple and clear product range (10 products only) look complex or repetitive. Conversely, a blog post removes any UX confusion with too many categories, but we have a conversion rate issue with our blog. It performs well in search, but conversions are poor. We have addressed this with a new keyword targeting strategy and blog customisation, but we have yet to test this so while in theory it should work well, we do not know for certain. In summary: we want to rank key shopping keywords beyond our core ones we have - would you advise we use blog posts or product collection pages? All help gratefully received - thanks! Warren

                    SEO Tactics | | WP33
                    0
                  • Train4Academy.co.uk

                    Introduce customer reviews and ratings onto our product pages

                    reviews ecommerce schema product page

                    Hi, I'm looking to introduce historical customer reviews onto our product pages but i want an opinion on whether a product page that's indexed will jump from 0 reviews to possible 30+, what if any problems that could arise from this.. For a bit of background, we've been collecting customer reviews/ratings since 2015 on our internal system. I'm only looking to start using feedback from 2020 onwards. The current set up is that the product page will display the latest 30 reviews, on the same page is a link that will take the user to another page where they can review all the customer feedback. I'm using Google Schema to markup the text to ensure it is firstly understood by google and displays correctly too. So back to my original question. Will an e-commerce product page that currently has no customer reviews that is indexed, been seen differently if when the next time it's crawled its found to have, say 30+ reviews? Are there any implications this way? What's your experience? I look forward to reading your feedback.
                    Thanks

                    Technical SEO | | Train4Academy.co.uk
                    0
                  • StevieD

                    Can I use £ character in title tag?

                    Hi - Can you use something like "save £££s" in the title tag. Have looked but can't see an answer. Thanks.

                    On-Page Optimization | | StevieD
                    0
                  • ese

                    Prices in title tag

                    At our ecommerce site adwords ads generally perform a lot better when the product price is included in the ad title. Does anyone here have any experience and data on CTR with including product prices in title tags of product / category pages?

                    On-Page Optimization | | ese
                    0
                  • Casefun

                    Does having more products in a category than others help with ranking that page with a particular keyword like iphone cases. We have thousands of products and wondered if it would hellp these all being on the website.

                    does having more products in a category than other websites help with ranking that page with a particular keyword like iphone cases. We have thousands of products and wondered if it would help these all being on the website.

                    On-Page Optimization | | Casefun
                    0
                  Moz logo
                  • Contact
                  • Community
                  • Free Trial
                  • Terms & Privacy
                  • Accessibility
                  • Jobs
                  • Help
                  • News & Press
                  • MozCon
                  © 2021 - 2024 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.

                  Looks like your connection to Moz was lost, please wait while we try to reconnect.