Text in div
-
When you use text in a div like this: <div id="container"> <h1 id="doc-header">Your Business in your Location - Your Services</h1> <p>Top industries are getting hit.p> <div id="branding"> <a href="#"> <img id="logo" src="images/logo.png" alt="Your Site" /> </a> </div> Are there SEO consequences when you put text in divs?
-
Almost every piece of text on my sites is within some kind of div. Â There's nothing wrong with using divs at all!
However, if you were trying to hide the text within a div for manipulative purposes then this would be against Google TOS.
-
Why shouldn't you place your text in divs??
Just make sure your font color isn't the same as the div's background that isn't a good idea...
-
Looks like correct usage of Divs to me!
-
Valid markup can help the crawlability of your page and should also be encouraged as far as usability is concerned. But there's no difference in SEO if you add or remove a div tag. If you want to emphasize keywords on your page you might consider using "strong" or "em" tags. Also h tags e.g. h1, h2, ... have effect on SEO, although not the big effect it used to have some years ago.
-
So if u put your text in a div this has no effects for SEO?
-
What do you mean by saying "a div in place of normal text"? Apart from that, what's that got to do with CSS? All I see is valid markup and that's how wegpages should look.
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
-
Anchor Text is Showing as Blank
Hi SEO Experts, If I add link on Image without alt tag, Would Search Console be shown anchor text as BLANK?
Technical SEO | | Rajesh.Prajapati1 -
Can Google index the text content in a PDF?
I really really thought the answer was always no. There's plenty of other things you can do to improve search visibility for a PDF, but I thought the nature of the file type made the content itself not-parsable by search engine crawlers... But now, my client's competitor is ranking for my client's brand name with a PDF that contains comparison content. Thing is, my client's brand isn't in the title, the alt-text, the url... it's only in the actual text of the PDF. Did I miss a major update? Did I always have this wrong?
Technical SEO | | LindsayDayton0 -
How to block text on a page to be indexed?
I would like to block the spider indexing a block of text inside a page , however I do not want to block the whole page with, for example , a noindex tag. I have tried already with a tag like this : chocolate pudding chocolate pudding However this is not working for my case, a travel related website. thanks in advance for your support. Best regards Gianluca
Technical SEO | | CharmingGuy0 -
Image Alt Text: Do I Need to Link my Image for it to Count?
Hi I learned from a very senior SEO that I must link my images if I want Google to read my alt tag for my images. I don't believe this though... is it true? If the answer is not true (which I suppose it is), then maybe you can help me answer this: 1. was he confused or why would he tell me this? 2. i didn't know what i should do so now, whenever i embed an image on my blog posts, i just link them to the blog post in which the image shows... in essence, by clicking the image, the page gets refreshed. does this sound like a good strategy for images? thanks in advance!!!
Technical SEO | | seo.owl0 -
What is the verdict on using negative text indent on a slider
Hi, I am trying to work out the best way of developing a slider on a page which may include text that I'd like indexed by search engines. One method I've read about is to use negative text indent, but people seem undecided on whether this is a good / bad / fine technique with regards to SEO. I'd be interested in hearing the communities views and experience on this. Thanks in advance.
Technical SEO | | JagexSEO0 -
Inbound links with anchor text about pills pointing to our URLs
Hi, I have just noticed one of our websites has lots of inbound links with the words: "order cialis", "**cialis professional online", "**order viagra soft" and so on. I have checked the target URLs source for any kind of suspicious code and found nothing. **What should I look for and what should I do in this case? ** Thanks
Technical SEO | | ceci27100 -
How far into a page will a spider crawl to look for text?
How far into a page will a spider crawl to look for text? I've heard a spider will only crawl the first 3kb, but can't find an authoritative source for that information.
Technical SEO | | crvw0 -
Anchor text in Flash Discoverable by Search Engines?
What recommendations do you all have to make anchor text discoverable in flash?  More importantly is it even possible and does it contribute to link juice?
Technical SEO | | sunfever0