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
-
Is Tag Manager a good option to insert text in websites?
Is Tag Manager a good option to insert text in websites? When a website doesn't have an administration panel adding text is a very big problem.
Technical SEO | | propertyshark0 -
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 -
Should the whole div box be linked or individual elements within it?
Hey I've got a question about linking within a div box. Say you have a title, an image and a short paragraph within a div box all referring to an internal page on your site. Should you link the whole div box to the internal page, or link the items within it individually e.g. the title, image and text individually? Thanks in advance
Technical SEO | | Kerry_Jones0 -
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 -
Is it better to have text is separate hidden divs or text stored in Javascript?
would it be better if: 1. I have all the text in separate hidden divs or 2. or all the text is stored in javascript?
Technical SEO | | Personnel_Concept0 -
Creating in-text links with ' 'target=_blank' - helping/hurting SEO!?!
Good Morning Mozzers, I have a question regarding a new linking strategy I'm trying to implement at my organization. We publish 'digital news magazines' that oftentimes have in-text links that point to external sites. More recently, the editorial department and me (SEO) conferred on some ways to reduce our bounce rate and increase time on page. One of the suggestions I offered is to add the 'target=_blank" attribute to all the links so that site visitors don't necessarily have to leave the site in order to view the link. It has, however, come to my attention that this can have some very negative effects on my SEO program, most notably, (fake or inaccurate) time(s) on-page. Is this an advisable way to create in-text links? Are there any other negative effects that I can expect from implementing such a strategy?
Technical SEO | | NiallSmith0 -
#hashtag Anchor text within content
Hi, i have a question about anchor text within my sites content. It 'jumps' to content displayed further down the page via a side navigation at the top. These links don't take you away to any other page, instead take you further down the page to the relavent content. My question is this: I've noticed in the URL that the anchor text - #jumpnavlink is placed at the end of the pages URL like so.. www.mywebsite.com/example-page.php#jumpnavlink Is this creating a problem for duplicate content?
Technical SEO | | SeoSheikh
Is it creating a new URL for viewers to use?
Is it ok to have lots of these running throughout my sites content pages? Many thanks for any light that is shed on this one! Cheers
Alex0 -
Internal anchor text
Designed my website with one keyword, one page adage. Wondering if i am creating an issue with internal anchor text and use of plurals for keywords. For instance, say I want my index page to rank for keyword exotic vacations, and an inner page to rank for exotic vacation. I do this as i notice there is a major discrepency with google when calling both the singular and plural term of certain keywords (like the example above, for instance). I see in yahoo it views singular and plural as essentially the same word, but google appears to rank them separately. Anyways since google is where the majority of my search traffic comes from, I separated my most competitive keywords for both singular and plural usage and created external links with anchor text that reflects this separation. I am concerned though that I may not be handling the Internal anchor text properly. What i have done is take a keyword l want to rank for (for example "exotic vacations") and attach it a page (for example index page) and use the anchor text "exotic vacations" on this page and link it to the inner page "exotic vacation." Reason: I want to rank for the term exotic vacations on the main page, but have a relavant page to link to this term so the closest would be the keyword exotic vacation on an inner page. I would appreciate any feedback on this. I think I am running into a problem with this strategy especially on the main index page/inner page keywords (plural to singular). I also notice google will find an inner page for a time then switch it to the default domain name index page when searchign for a keyword. Kinda keeps going back and forth. I never see any indent search results.
Technical SEO | | oxygenretreat0