tags inside <a>tags - is this bad?</a>
-
Hi,
I'm currently redesigning my website, and in many places, I've now decided to make links a little bit more obvious for the user, using tags within a <a>tag in order to make the entire block of text clickable. I was just wondering if this could have a negative impact in the search engines. My gut feeling is no, since I'm actually improving usability, but I guess it could have an impact on how Google looks at the anchor text? An example of the HTML is as follows: </a>
<a></a>
[Cristal Night Club Hotels
<address>1045 5th Street
Miami Beach, FL33139</address>6.4 miles from Miami Dade County Auditorium](http://localhost:8080/frontend/venue-hotels/cristal-night-club-hotels/301022 "Hotels near Cristal Night Club")
Thanks for your thoughts and comments,
Best wishes
Mike
-
Totally agree. Add a class to those <a>s and style that.</a>
-
<spans>are all over the web, and used in lots of different situations. It shouldn't adverse affect your rankings.</spans>
That being said, going over your site and adding s into all your <a>s doesn't sound like fun... and after all you may want to change it again down the road. You can't accomplish something similar with CSS? I think styling your</a> <a>s with "display:block;" should accomplish the same thing as adding this to all your</a> <a>s?</a>
-
Hi Mike,
In general there is not many negatives to using html / css styling. The exceptions being when you are purposely hiding text, from users. Example: white text on a white background.
Specifically in the case you asked about, I have never heard, seen, or otherwise caught a whiff of this being a bad thing, rather it is more of an accepted reality.
Hope that helps,
Don
-
I have never seen an instance where a span tag has had any negative effect on SEO as it is just a standard HTML element.
OK, perhaps some favour a style sheet, but raw code on the page is still more than acceptable.
Andy
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
-
Hidden category content really bad?
Hi Guys, I'm working with a site which has hidden based category content see: http://i.imgur.com/Sgko2we.jpg It seems google are still indexing these pages but i heard Google might ignore or reduce the benefit of hidden content like this.I just want to confirm if this is the case? And if this is a really bad thing for SEO?Cheers.Sgko2we.jpg
Intermediate & Advanced SEO | | seowork2140 -
Intro to programming/coding for seo
Hello, I am currently a SEO and am looking for an Intro to programming/coding course to help me implement various technical SEO tasks for my clients and the business-as the programming dept will not help me, as they do not see the value of SEO. Could someone pls recommend an online course that would introduce me to basic concepts and also specifically, the information that would help me to enhance our SEO? I would also like to better understand APIs. Thanks so much in advance for your help! Lauren
Intermediate & Advanced SEO | | lfrazer1 -
Pixel tags impact on SEO?
I was asked by our IT if switching to a tag management company that removes the pixels from our site and is replaced by a javascript would have a negative impact on SEO. I have not been able to find anything that discusses this: Does anyone have experience with this? Has it caused any issues? Has it caused any issues? How do crawlers see pixel data, and what do they do with it?
Intermediate & Advanced SEO | | Shawn_Huber0 -
Why is google truncating my title tag?
We are trying to figure out why the search result for the term "au pair" is not matching our designated title tag or anything on our page. If you search "au pair", please see the result for the domain interexchange.org. We do not see this problem with other search terms.
Intermediate & Advanced SEO | | jrjames830 -
Wordpress Tag Pages - NoIndex?
Hi there. I am using Yoast Wordpress Plugin. I just wonder if any test have been done around the effects of Index vs Noindex for Tag Pages? ( like when tagging a word relevant to an article ) Thanks 🙂 Martin
Intermediate & Advanced SEO | | s_EOgi_Bear0 -
How does the use of Dynamic meta tags effect SEO?
I'm evaluating a new client site which was built buy another design firm. My question is they are dynamically creating meta tags and I'm concerned that it is hurting their SEO. When I view the page source this is what I see. <meta name="<a class="attribute-value">keywords</a>" id="<a class="attribute-value">keywordsGoHere</a>" content="" /> <meta name="<a class="attribute-value">description</a>" id="<a class="attribute-value">descriptionGoesHere</a>" content="" /> <title id="<a class="attribute-value">titleGoesHere</a>">title> To me it looks like the tags are not being added to the page, however the title is showing when you view it in a browser and if use a spider view tool, it sees the title. I'm guess it is being called from a DB. So I'm a little concerned though that the search engines are not really seeing the title and description. I'm not worried about the keywords tag. Can anyone shed some light on how this might work? Why it might not being showing the text for the description in the page code and if that will hurt SEO? Thanks for the help!
Intermediate & Advanced SEO | | BbeS0 -
Is having all your media hosted on a sub-domain bad?
I just realized yesterday while doing some audit work on our site (which is still relatively new) that all of our audio assets are stored on a separate sub-domain. We are an eCommerce site that sells audio books, and every product page has a sample audio file to listen to. But all those files are stored on a sub-domain of the main site. "cdn-media.oursite.com". First, I understand that media(our audio files) has some inherent SEO value if hosted correctly. Is that true? And if so, how important would you think it is? Secondly, assuming that it does have value, are we losing that value by having them hosted on a sub-domain? I have read things that say sub-domains are bad, and I have read things that say that Google at least has been treating sub-domains as sub-folders, but I can't find anything definitive one way or the other. On another note, another thing I saw is that people are linking to the sound files directly in various places, and those links are going to the sub-domain, not the main domain. There aren't even pages on the sub-domain, just the files, so those links deliver a "visitor" to a page that is completely blank except for a tiny little audio player. Not sure what to do about that, but that can't be good one way or the other right? How big of a problem is this really? Is it worth me going to our IT dept. and trying to change it? It sounds like it would be a pretty big deal to change, so I'll need a few voices to back me up if that's the case.
Intermediate & Advanced SEO | | DownPour0 -
Website Restructure - Good or Bad for SEO?
Due to the fact that we aren't in the #1 position, (dropped from #5 to page 2 - You have to love Devs and IT), our heads have hired a SEO Audit/Consultant company to review everything we are doing. I would like to post some of the things they are telling us to do, in which I don't 100% agree with and would like some other professional feedback. Especially since their site isn't marketed very well. http://www.trupanionpetinsurance.com Disclaimer: (this site was a complete nightmare when I started a year and a half ago. Yes, there are many issues that still need to be addressed.) Website Restructure I agree we totally need to restructure our website. I have no idea what the previous SEO guy was thinking. The new SEO company is telling us that the structure is a big part of SEO. I don't believe so, but besides a little loss in 301 juice, is there any other downfalls? Are there any real benefits? Similar question asked the other day (and answered by me): http://www.seomoz.org/q/don-t-want-to-lose-page-rank-what-s-the-best-way-to-restructure-a-url-other-than-a-301-redirect
Intermediate & Advanced SEO | | Trupanion1