Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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 ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Ranking dropped after changing title tag
 I recently changed my company's site homepage title tag to make it start with our target keyword. The page was originally at page #7 or #8 and dropped to page #17 directly after I changed the page title. Is this normal? Is it's a temporary drop or should I change it back to the previous title. Intermediate & Advanced SEO | | ForumOne0
- 
		
		
		
		
		
		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
- 
		
		
		
		
		
		Does a UTM tag influence the linkvalue?
 Will Google value a link with a UTM tag the same as a clean link without a UTM tag? I should say that a UTM tag link is not a natural link so the linkvalue is zero. Anyone any idea how to look at this? Intermediate & Advanced SEO | | TT_Vakantiehuizen0
- 
		
		
		
		
		
		NoIndexing Massive Pages all at once: Good or bad?
 If you have a site with a few thousand high quality and authoritative pages, and tens of thousands with search results and tags pages with thin content, and noindex,follow the thin content pages all at once, will google see this is a good or bad thing? I am only trying to do what Google guidelines suggest, but since I have so many pages index on my site, will throwing the noindex tag on ~80% of thin content pages negatively impact my site? Intermediate & Advanced SEO | | WebServiceConsulting.com0
- 
		
		
		
		
		
		H2 Tag Backlink - is this safe?
 I have found that my site is getting a link from a good site, but my concern is that the link is in a H2 tag in the footer of the front page of the site Would getting a link from a site wrapped in H2 tags be safe? The anchor is my sites brand name Intermediate & Advanced SEO | | JohnPeters0
- 
		
		
		
		
		
		Keyphrase / Keyword arrangement
 Hi all, What are your thoughts on the arrangement of keyphrases / words? For example, does it make a difference if the words are arranged in the following way: "Keyword 1 Keyword 2" or "Keyword 2 Keyword 1" Both ways make a phrases which is favourable in the search engines. Can I stick with 1 way or should I be going with both arrangements. Hope that is clear 🙂 Intermediate & Advanced SEO | | wtfi0
- 
		
		
		
		
		
		/%category%/%postname%/ Permalink structure
 Mostly everyone seems to agree that /%category%/%postname%/ is the best blog structure. I'm thinking of changing my structure to that because now it's structured by date which is bad. But almost all of my posts are assigned to more than one category. Won't this create duplicate pages? Intermediate & Advanced SEO | | UnderRugSwept0
- 
		
		
		
		
		
		Why Put an H1 Tag On A Product?
 Why would you put an H1 tag on a product name? I came across this in another forum and thought I'd float it here. Intermediate & Advanced SEO | | AWCthreads0
 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				