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
-
Category text not present in mobile version
Hey guys! I am looking into a site that has multiple category pages. These have descriptions that include relevant KWs. However, the text appears only on the desktop version, not on mobile. If I inspect the page, I still see the text's html tags. The site has been indexed by the smartphone google bot. Is there a chance the text's KWs are being detected by Google? I would think adding the text is the ideal route, but I´d like to see what you think. Thanks!
Technical SEO | | Reprise0 -
Hidden text and mobile indexing
Hello, I believe mobile indexing 1 st is in place. Since then, does google give the same value to content that is hidden behind a tab (for example a question where you need to click on the + to see the answer) as content that would be directly visible ? Thank you,
Technical SEO | | seoanalytics0 -
Image Size in Alt Text
Hi, On our ecommerce site, when we load an image for an item, it automatically loads different sizes for that image. (i.e. High Res, Large, Small, Thumbnail, etc). We have an option to add the size to the alt text of the image (in addition to the description of the picture... so for example "Blue casual shirt High Res"... is this necessary? One of our clients requested this and I am not sure I see the point of having the image size in the alt text unless it helps the visually impaired in some way?
Technical SEO | | AliMac260 -
Will Google still ignore the second instance of anchor text on a page if it has an H2 tag on it?
We have a page set up that has anchor text with header tags. There is an instance where the same anchor text is on the page twice linking to the same page, and I know that Google will ignore the second instance. But in the second instance it also had an H2 tag (which I removed and put it on the first instance of anchor text even though it's smaller). Is this good practice?
Technical SEO | | AliMac260 -
Does Google Parse The Anchor Text while Indexing
Hey moz fanz, I'm here to ask a bit technical and open-minding question.
Technical SEO | | atakala
In the Google's paper http://infolab.stanford.edu/~backrub/google.html
They say they parse the page into hits which is basically word occurences.
But I want to know that they also do the same thing while keeping the anchor text database.
I mean do they parse the anchor text or keep it as it is .
For example, let's say my anchor text is "real car games".
When they indexing my link with anchor text, do they parse my anchor text as hits like
"real" distinct hits
"car" distinct hits
"games" distinct hits.
OR do they just use it as it is. As "real car games"0 -
Site Wide Text to Code Ratio Tool
Does anyone know of a free or paid tool which provides the text to code ratio for all pages on a site? Something like Screaming Frog but with all the ratios for each page. At the moment we are checking key landing pages individually.
Technical SEO | | Dave_Schulhof0 -
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 -
Whats influencing Googles Predictive text feature?
Good morning from 7 degrees C mostly cloudy wetherby UK 😉 Here is todays musing... When you enter a term in Google it predicts what your trying to enter but I wonder what is influencing the order of the phrases. For example when you enter cms website the terms it autofills are not alpahabetical eg: cms website
Technical SEO | | Nightwing
cms website templates
cms website design below link illustrates this:
http://i216.photobucket.com/albums/cc53/zymurgy_bucket/google-auto-fillcopy.jpg So my question is please: "Is this a volume thing in that Geoogle works out whats in demand via ppc ads and then ranks them acccordingly"? Any insights welcome 🙂0