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
                  • Text hidden by Java
                    Martijn_Scheijbeler
                    Martijn_Scheijbeler
                    0
                    3
                    125

                  • Not Indexing Text in Tabs
                    JaneCopland
                    JaneCopland
                    0
                    3
                    92

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

                  • Anchor text analysis
                    madegood
                    madegood
                    0
                    13
                    448

                  • Is it better to have text is separate hidden divs or text stored in Javascript?
                    SaforwebDesign
                    SaforwebDesign
                    0
                    2
                    289

                  • Text hidden by button?
                    TheSEODR
                    TheSEODR
                    0
                    2
                    297

                  • Is it bad (black hat) to have an H1 text as a text indent?
                    inc.com
                    inc.com
                    1
                    7
                    4.4k

                  • Internal anchor text
                    caseyhen
                    caseyhen
                    0
                    4
                    1.4k

                  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