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
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
-
Is a One Page Website template bad for SEO?
I have a website of a freelancer who is using a One Page template which includes the following section About Him Portfolio Resume I also got 5 sperate pages which are related to the keywords he wants to rank for. Will this be sufficient or should I suggest him to go for a separate website template?
Intermediate & Advanced SEO | | iamgaurav12900 -
Title Tags & Keyword Order
Hi I've read various articles on this - some saying it's still important to have the keyword at the beginning of the title and some saying it's not a big factor anymore? Does anyone have an opinion on this?
Intermediate & Advanced SEO | | BeckyKey0 -
Content Publishing Volume/Timing
I am working with a company that has a bi-monthly print magazine that has several years' worth of back issues. We're working on building a digital platform, and the majority of articles from the print mag - tips, how-tos, reviews, recipes, interviews, etc - will be published online. Much of the content is not date-sensitive except for the occasional news article. Some content is semi-date-sensitive, such as articles focusing on seasonality (e.g. winter activities vs. summer activities). My concern is whether, once we prepare to go live, we should ensure that ALL historical content is published at once, and if so, whether back-dates should be applied to each content piece (even if dating isn't relevant), or whether we should have a strategy in place in terms of creating a publishing schedule and releasing content over time - albeit content that is older but isn't necessarily time-sensitive (e.g. a drink recipe). Going forward, all newly-created content will be published around the print issue release. Are there pitfalls I should avoid in terms of pushing out so much back content at once?
Intermediate & Advanced SEO | | andrewkissel0 -
Double hyphen in URL - bad?
Instead of a URL such as domain.com/double-dash/ programming wants to use domain.com/double--dash/ for some reason that makes things easier for them. Would a double dash in the URL have a negative effect on the page ranking?
Intermediate & Advanced SEO | | CFSSEO0 -
Google Tag Manager
Has anyone used Google Tag Manager and do you feel it is worth it?
Intermediate & Advanced SEO | | ChristinaRadisic0 -
Question on starting again after being penalised for bad links
Hi, in a scenario where you have been heavily penalised for bad links but the quality of your site is good, If you put the exact same version of your penalised site on a new domain (with no redirects), would Google recognise it and penalise it again, or would that give it a completely fresh start? Any advice or experience with this would be much appreciated. Thanks.
Intermediate & Advanced SEO | | em_welsby1 -
Accidently added a nofollow, noindex tag and then...
Hey guys, My first post here and ironically highlights a ridiculously stupid mistake! Ok, here's the deal... I started building links to one of my new page on a fairly good, old site (DA = >35). Before starting to build links, I added fresh new content, and while doing that, I accidentally added a "nofollow" and "noindex" tag to the page! Guess what, google DID de-index the page ! So the questions is (and YES, I did change the meta tags): Will google re-index the page with some good linking? Will it treat the page as a new, fresh page even though it was present for over a year? I had already started link building to that page, and now technically the links are pointing to a page that does not exist in the index, so once it does get re-indexed, will Google FLAG it as having too many links? Would I be ranking it as a new page? Will its previous ranking (for very few keywords) will come back? Thanks and Regards, Amod
Intermediate & Advanced SEO | | bonusjonathan0 -
Our site is recieving traffic for both .com/page and .com/page/ with the trailing slash.
Our site is recieving traffic for both .com/page and .com/page/ with the trailing slash. Should we rewrite to just the trailing slash or without because of duplicates. The other question is, if we do a rewrite, google has indexed some pages with the slash and some without - i am assuming we will lose rank for one of them once we do the rewrite, correct?
Intermediate & Advanced SEO | | Profero0