Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6750261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:47:14+00:00 2026-05-26T12:47:14+00:00

I am using multiple DIV tags with the same content to create one visible

  • 0

I am using multiple DIV tags with the same content to create one visible heading tag.

So where I would use H1, it is actually multiple div tags styled in such a way as to create a desired effect.

Now i was wondering, because I still want my page to have logical semantic value, if I were to add <h1>text here</h1> just above the div collection and set it to display:none; would that still create a logical order to the page? or would web crawlers such as google ignore the hidden h1 and penalise me for the duplicate content in the div tags?

To give a clearer idea of what i mean, heres a rough mockup:

<h1 style="display:none">my header text</h1>

<div>
    <div>my header text</div>
    <div>my header text</div>
    <div>my header text</div>
</div>

When viewed in a browser, the my header text in the divs are only shown once but are needed 3 times to create the effect I need.

Im sorry if the question seems confusing and a little vague but I dont really know how to ask this particular question but I hope I have explained it well enough.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T12:47:14+00:00Added an answer on May 26, 2026 at 12:47 pm

    Semantic value and SEO value are slightly different things. One could always argue about the semantic value of doing what you’re suggesting although I would say it has little to none (because there is a better alternative).

    I believe google ignores anything hidden that way to avoid things like keyword stuffing. They have stated a few times that they only want to read what is actually visible on the site to users, so they should ignore something people can’t see. There are, however, some techniques for doing what you want to do for sites that use a banner image that (the last time I checked) google did pay some attention to.

    In your case you can easily avoid this though. You can replace your first

    <div>my header text</div> 
    

    with

    <h1>my header text</h1>
    

    and adjust your code around that.

    Reset all the browser defaults for h1 tags by setting height: 100%; margin: 0px; padding: 0px; font-weight: normal; display: block; and treat it exactly like a div. After that apply whatever styling you would have done to the div.
    The result is something that is semantically correct (your header is in an h1 tag at the top of your content) and that google is more likely to read.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using JQuery to position a series of div tags which basically use
One div works fine, however when using multiple divs they all get expanded simultaneously.
I need to be able to hide/show multiple div tags on the same page
Does using Multiple .NET Languages (Delphi, VB.NET, C#) into the same application (but in
I've a page in an ASP.net site where i've multiple content placeholders, script tags
Im using multiple ASCX controls on one page, and the javascript clashes obviously if
Supposing I've got multiple div's with the same class, I could do something like
i am using a javascript where in i am creating multiple div (say 5)
I have multiple div's with the same class that are on a page that
I am trying to select, using Jsoup , a <div> that has multiple classes:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.