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
-
Single Page for video & text resources or multiple?
Our new site will have a 'learning center' which contains educational videos as well as articles for prospects who are considering purchase. We were thinking linking to the "Learning center" page from main menu then having multiple videos and articles on this page. (thumbnails, & brief descriptions). Then when the user clicks on the video or article this will take them to a page with that video or article. My thoughts are that would allow us to optimize each page for that question or video topic. Is this a good idea? or should we just have video thumbnails on one page and have the video play on that same page? What about articles, should they also expand on that page or should they open on separate page? We are using WP as CMS. If the videos open on separate pages then how does the user easily get the other videos? will they have to go back to the /learning page or something else? It would seem like a lot of work to have them keep going back to watch one video, then go back and watch the next. What is the best practice - if there is one? Examples of websites that do this well?
Technical SEO | | PhotographerSteve1 -
Anchor text analysis
Hello! I'm doing a systematic review of my site after getting a bit of a heavy punishment from google last month. I think things are going in the right direction, but wanted some advice on anchor text. Here is a link to the top 200 terms as exported from WMT; https://docs.google.com/spreadsheet/ccc?key=0AkGVm349qCtIdHYzR01EVDhBOHFIekJZS0FVbG9RN1E#gid=0 Can someone give me some advice on whether anything looks suspicious or not? or is it not that simple? My site is madegood.org. Thanks so much in advance. I've had some fantastic help on here already, but really any advice is appreciated. Cheers
Technical SEO | | madegood0 -
Changing the anchor text of a big amount of links at once is bad for SEO?
Hi there, Our service at fotograf.de is a shopsystem for professional photographers. The customers can build their own website with our tool including an onlineshop to sell their pictures. We have a lot of links from our customers linking to our homepage. The links come from subdomains of our domain and from external domains. We are now thinking about changing the anchor text of half of the links (round about 300.000 links). Do we have to fear a penalization of Google for changing so many anchor texts at once? Do we get better rankings if we choose a more optimized anchor text or does this have no effect because most of the links are from subdomains (each customer has its own subdomain) of our domain? Thanks for answering! Sebastian
Technical SEO | | Sebastian230 -
INTERNAL ANCHOR TEXT LINKS
If your site has say 50 pages, and you have a anchor text link from the home page to that page, what should you do in response to last friday, I have 60 keywords in the top 10 and now thye are all in the top 30 at best. PAGE RANK is still 5s and 6s on all of these pages.... NO PROBLEM ON THIS SITE UNTIL LAST FRIDAY!
Technical SEO | | jdcline0 -
Will Google index a site with white text? Will it give it bad ratings?
Will google not rank a site bc pretty much all the copy is white (and the background is all white)? Here's the site in question: https://www.dropbox.com/s/6w24f6h5p0zaxhg/Garrison_PLAY.vs2-static.pdf https://www.dropbox.com/sh/fwudppvwy2khpau/t43NozpG3E/Garrison_PLAY.vs3.jpg thanks--if you need me to clarify more let me know TM Humphries LocalSearched.com
Technical SEO | | CloudGuys0 -
Anchor text with class atttribute followed by search engines?
Hi folks, Is an anchor containing a class attribute followed by the search engines? Viewed the "text only" version of the cached page in Google and the link is not listed so not sure if it is followed for indexing purposes The code: Reports Actually the link was recognized as an internal link using the SEOMOZ toolbar and also was listed as an internal link using A1 Analyzer. Any thoughts welcomed!! Finn
Technical SEO | | insite3600 -
Same image file with different alt text?
I have an image that represents 'widgets'. The image works for more than one kind of widget. I have two pages, one optimized for 'blue widgets' and one optimized for 'red widgets'. I would like to use the same 'widgets' image on both pages but change the alt text to be 'blue widgets' or 'red widgets' depending on the page it is used on. Should I: (1) use the same image on different pages with different alt text. (2) duplicate the image file and have two copies 'red_widgets.jpg' and 'blue_widgets.jpg' and then use each copy on the page optimized for the corresponding phrase. (3) create distinct, unique image files (where the pixels are different, not just the file names) for each kind of widget. This is a simplified example of a larger SEO problem where I have 1 image that can be useful on 20 pages that are each optimized for 20 different phrases. Should I use the same image with 20 different alt tags, or create 20 identical (but renamed) copies of the image, or create 20 slightly different image files (with different pixels in each image)? Thanks.
Technical SEO | | scanlin0 -
Site links -> anchor text and blocking
1.Does anyone know where google pulls that anchor text for the organic site links? -- Is there a way to manipulate the anchor text of the sitelinks to get our more important pages to stick out more (capitalization, punctuation etc.) 2. If i block a few of my sitelinks from showing will goolge replace it with a new sitelink or will i be left with fewer? Thanks! Srs
Technical SEO | | Morris770