The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Text in div

    Text in div

    Technical SEO Issues
    7 5 728
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PlusPort
      PlusPort last edited by

      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?
      
      
      1 Reply Last reply Reply Quote 0
      • bootleg
        bootleg last edited by

        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. 😉

        PlusPort 1 Reply Last reply Reply Quote 1
        • PlusPort
          PlusPort @bootleg last edited by

          So if  u put your text in a div this has no effects for SEO?

          bootleg 1 Reply Last reply Reply Quote 0
          • bootleg
            bootleg @PlusPort last edited by

            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.

            1 Reply Last reply Reply Quote 1
            • Entrusteddev
              Entrusteddev last edited by

              Looks like correct usage of Divs to me!

              1 Reply Last reply Reply Quote 0
              • nvs.nim
                nvs.nim last edited by

                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...

                1 Reply Last reply Reply Quote 0
                • MarieHaynes
                  MarieHaynes last edited by

                  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.

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  • First post
                    Last post
                  • Anchor text with punctuation
                    Tymen
                    Tymen
                    0
                    2
                    175

                  • Div class
                    Tymen
                    Tymen
                    0
                    3
                    92

                  • Anchor Text and over optimization
                    Bizio
                    Bizio
                    1
                    6
                    97

                  • Is alt text inside an img tag inside an h1 the same weight as text directly inside the h1?
                    spencerhjustice
                    spencerhjustice
                    0
                    3
                    7.5k

                  • Is using JavaScript injected text in line with best practice on making blocks of text non-crawlable?
                    Everett
                    Everett
                    0
                    2
                    201

                  • Sites penalized for having same texts ?
                    OlegKorneitchouk
                    OlegKorneitchouk
                    0
                    2
                    205

                  • Text hidden by button?
                    TheSEODR
                    TheSEODR
                    0
                    2
                    297

                  • Anchor text diversity
                    seobutler
                    seobutler
                    0
                    3
                    773

                  Get started with Moz Pro!

                  Unlock the power of advanced SEO tools and data-driven insights.

                  Start my free trial
                  Products
                  • Moz Pro
                  • Moz Local
                  • Moz API
                  • Moz Data
                  • STAT
                  • Product Updates
                  Moz Solutions
                  • SMB Solutions
                  • Agency Solutions
                  • Enterprise Solutions
                  • Digital Marketers
                  Free SEO Tools
                  • Domain Authority Checker
                  • Link Explorer
                  • Keyword Explorer
                  • Competitive Research
                  • Brand Authority Checker
                  • Local Citation Checker
                  • MozBar Extension
                  • MozCast
                  Resources
                  • Blog
                  • SEO Learning Center
                  • Help Hub
                  • Beginner's Guide to SEO
                  • How-to Guides
                  • Moz Academy
                  • API Docs
                  About Moz
                  • About
                  • Team
                  • Careers
                  • Contact
                  Why Moz
                  • Case Studies
                  • Testimonials
                  Get Involved
                  • Become an Affiliate
                  • MozCon
                  • Webinars
                  • Practical Marketer Series
                  • MozPod
                  Connect with us

                  Contact the Help team

                  Join our newsletter
                  Moz logo
                  © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                  • Accessibility
                  • Terms of Use
                  • Privacy