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 -
Can hosting blog posts with keyword anchor text on outbound links cause a penalty?
My site received a Google penalty for having inbound links from blog posts with over-optimized ("spammy") anchor text. I spent months getting these links removed. Yesterday - I received a link deletion request from a site that my site had linked out to (three links via keyword anchor text relevant to their company) in a blog post. The "unnatural link" penalty still hasn't been removed from my site. My question is: Does the penalty work both ways? For having inbound "unnatural" links ... AND for having outbound "unnatural" links?
Technical SEO | | RedNovaLabs910 -
Is "commented out" text still read by the SEs?
A site I reviewed was showing up in Google rankings for key phrases specific to a city, however the page that was showing up had the 'city' key phrases commented out. Does Google still read and utilized commented out text? Or is it more likely that the page in question got indexed before the key phrases were commented out and it's just still appearing for the related search queries?
Technical SEO | | MLTGroup1 -
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 -
Link title with anchor text
Will there be any additional SEO value if we add link title in addition to anchor text.? Can you compare link title with image title? Thanks.
Technical SEO | | gmk15670 -
Can Google read text in Javascript?
We have just completed the redesign of our product page, which you can see here: http://www.uksoccershop.com/p-19045/2011-12-Chelsea-Adidas-Away-Football-Shirt.html Because we want the select size / add to basket section to appear prominently, you can see we are showing only a snippet of the product description in this section and then user has to click "more" to see it. My question is, can Google read the product description here since it's in Javascript? The code is as follows: 2011-12 Chelsea Adidas Away Football Shirt £44.99 Item Code:379606 Brand new, official Chelsea away shirt for the 2011/12 Premiership season, available to buy in adult sizes S, M, L, XL, XXL, XXXL. This football shirt is manufactured by Adidas and is black in colour.[ More...](javascript:void(0);) Brand new, official Chelsea away shirt for the 2011/12 Premiership season, available to buy in adult sizes S, M, L, XL, XXL, XXXL. This football shirt is manufactured by Adidas and is black in colour. Cheer on the Blues in style in the new adidas Chelsea Away Shirt, featuring a striking blue blocked design on an imposing black background complete with the club crest and adidas logo embroidery across the chest for a great style on or off the pitch. The new Chelsea Away Shirt is designed with adidas' ClimaCool technology to bring moisture away from your skin, keeping you cool, comfortable and performing at your best as you emulate the skills of Frank Lampard, Fernando Torres and John Terry on the pitch. Customise your shirt with Premiership shirt printing for your favourite Chelsea stars or choose your own custom name and number. Adult Football Shirt
Technical SEO | | ukss1984
Short sleeves soccer jersey
Chelsea club crest to left chest
adidas logo and stripes
Print sponsor to centre
ClimaCool technology
Machine washable Product code: 379606 The 2011/12 Chelsea away football kit is released on 7th July 2011. <form name="currenychange" action="http://www.uksoccershop.com/p-19045/2011-12-Chelsea-Adidas-Away-Football-Shirt.html" method="get">
<select class="topselectbox" onchange="this.form.submit();" name="currency" style="float:right;"> <option value="USD">US Dollars</option> <option value="EUR">Euro</option> <option value="GBP" selected="selected">UK Sterling</option> <option value="AUD">Australian Dollars</option> </select>
</form> Available Now [Be the first to ask a question](javascript:void(0); "Ask a Question")
[Be the first to review this product](javascript://) Rating: 5 out of 5 stars <form name="cart_quantity" action="http://www.uksoccershop.com/p-19045/2011-12-Chelsea-Adidas-Away-Football-Shirt.html?number_of_uploads=0&action=add_product" method="post" enctype="multipart/form-data"> Which parts of this is Google going to be able to read? Should we make the product title our H1 header for this page and can it currently read that within the code above? </form>0 -
How to optimize achor text links on ecommerce category page
A category page on an e-commerce sites, containing a list of the products within the category, usually shows the product image above the product text link. If both image and anchor text link to the product page, this would mean that the image is counted as the link in terms of ranking value. What would be the best way to make the anchor text count in stead of the image? I guess some ways would be: 1. Not making the product image a link
Technical SEO | | DeptAgency
2. Using some kind of link masking / redirecting technique for the image
3. Employing a technical trick to make the anchor text link come first in the code readable by search engines. What would be the easiest way to solve this issue? Or do you believe it's not worth bothering?0