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
-
Do search engines treat masked text differently than solid color fonts?
In my attempt to decrease page load times, I ditched my custom fonts for google fonts. I figured out how to apply CSS mask-image to make this blazing fast loading google font have a chalk texture, which was an awesome improvement over the 3-5 second load times for those locally hosted web fonts. I've read that Google penalize a site for poor contrast ratios between the background and text, but do search engines go by CSS or do they somehow compare the actual rendered site as an image? Using CSS mask-image to give my text that chalk appearance does produce minor transparent patches in text. So have I saved 3 seconds on page load just to have search engines knock points off for funky text issues? All input welcome. The temporary site is here. https://website-1b14f.firebaseapp.com/ Kevin
Technical SEO | | kwoolf0 -
Changing your Anchor Text in 2014
Hello I have a series of question, There was a directory listing we submitted to and got approved. However we got 6 Links total with the same Anchor Text 3 from www and 3 from non www, which is also the Title of our Brand Name. However this is causing an unnatural link. 1. Does Changing the Anchor Text Bad? Does Google have a new way of detecting anchor text changes.
Technical SEO | | EVERWORLD.ENTERTAIMENT
2. Can I change the Title/Anchor to something more generic, so that the anchor text profile is more natural.
3. Since this is a Directory is http://obln.org/ - Does anybody know being on this directory bad?
Or should I just remove this links altogether or Disavow 5 Links and just keep one, because they have a PR5 and has trust flow, losing all the links may not be good as well for ranking. Thanks For your Insight.0 -
Is it a problem to split anchor text with span / div etc or does it decrease the effect?
Hi, Recently I started seeing more and more anchor text with design variations within them. A noticeable example can be seen in the Distilled top menu.
Technical SEO | | BeytzNet
As you can see there is a part which is in small letters and a part with different fonts. Meaning that there is either an internal span / div / font / italic / etc. or some other attribute within the link (splitting the anchor text). Is it a problem?
Keep in mind that it will be used in the top menu on the most important links. Thanks0 -
Duplicate content q - Can search engines tell where the original text was copied from?
I was under the impression that when a search engine comes across duplicate content it won't be able to determine which one is the original. Is this not the case?
Technical SEO | | Sparkstone0 -
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 -
No Google cached snapshot image... 'Text-only version' working.
We are having an issue with Googles cached image snapshops... Here is an example: http://webcache.googleusercontent.com/search?q=cache:IyvADsGi10gJ:shop.deliaonline.com/store/home-and-garden/kitchen/morphy-richards-48781-cooking/ean/5011832030948+&cd=308&hl=en&ct=clnk&gl=uk I wondered if anyone knows or can see the cause of this problem? Thanks
Technical SEO | | pekler1 -
What is the value of english links with foreign language anchor text for a foreign site?
I have a site in Spanish that is hosted in Spain with a .es TLD. I already have many Spanish-language links from websites in Spain, but I obviously want more and I'm finding I might need to look beyond typical Spanish sites. In talking to some of my link builders who work on my English/American sites, they are recommending that I build links on the normal article sites, blogs and web 2.0 sites that I normally build links on but that I make all the content English and insert the anchor text in Spanish. For example, if my site were about "weightloss", my keyword would be "perder peso" (in spanish). They are recommending that I have articles, reviews, etc written about weightloss in English with the anchor text "perder peso" worked into the English article. Most of the sites are English sites that are hosted in the US (article sites, web 2.0 properties, etc). My question is what is the value of these links? Does anybody have any experience with this?
Technical SEO | | jargomang0 -
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