homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

<h1 class="hiddenH1Text">

 4:05 pm on Oct 25, 2011 (gmt 0)

<h1 class="hiddenH1Text">

can somebody please tell me what this tag means?

found when viewing source code with a keyword and closed h1 tag to follow. Is this trying to game googlebots by hiding text?

a heads up would be handy.



 4:15 pm on Oct 25, 2011 (gmt 0)

Welcome to the forums, kavv23.

The author of a page can name their CSS classes anything they choose, and for some reason they chose the name "hiddenH1Text" for this class. What this class actually means is defined elsewhere - either in an external .css file or in the <head> area.

There are many legitimate reasons for making a bit of text hidden when a page loads - for example, some user action (like hovering or clicking somewhere on the page) may trigger a javascript that changes the visibility of the element.

It would be rather foolish to try to game search engines with hidden text and then advertise the fact so boldly right in the code. Then again, people do foolish things.


 4:25 pm on Oct 25, 2011 (gmt 0)

In all fairness - although I fought it tooth and nail - it may just be the design. I just completed a project with "tabs" on all the pages and the tabs appeared right under the header stuff.

No visible h1. <gasp>

So when the SEO people approached the project, they're thinking "what the heck, what are you thinking?" We put some in with exactly that approach . . . also sticking poorly in my craw.

You've opened a good question though. When, for whatever reason, an h1 is set to display:none, is this considered "hidden content" by the S.E.'s, and does it inflict their wrath, especially if the h1 in question is both relevant and non-stuffed?

Alternatively, an image-based h1, which I doubt is the same environment because the h1 content is similar or identical to the graphic content.


 11:59 pm on Nov 2, 2011 (gmt 0)

As I think a tag alone has no value whenever there is no data into it. If there were some text in the h1 tag and it become hidden it may be considered as BLACK HAT, but if there is nothing i think it may be just a mistake.


 12:04 am on Nov 3, 2011 (gmt 0)

This could even be a multi-user CMS run amok. I've actually seen something very close to this on a Fortune 500 site

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved